Merge pull request #221 from anatol/master
Use table.unpack() with Lua5.2 instead of deprecated unpack()
This commit is contained in:
commit
bafa12ca24
|
@ -23,6 +23,7 @@ local schar = string.char
|
||||||
local sbyte = string.byte
|
local sbyte = string.byte
|
||||||
local tcat = table.concat
|
local tcat = table.concat
|
||||||
local tins = table.insert
|
local tins = table.insert
|
||||||
|
local unpack = unpack or table.unpack -- v5.1: unpack, v5.2: table.unpack
|
||||||
local naughty = require("naughty.core")
|
local naughty = require("naughty.core")
|
||||||
|
|
||||||
--- Notification library, dbus bindings
|
--- Notification library, dbus bindings
|
||||||
|
|
Loading…
Reference in New Issue