Changed unpack in portable way
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
ecc930dbe0
commit
9623b8e42f
|
@ -10,8 +10,8 @@ local loadstring = loadstring
|
|||
local tostring = tostring
|
||||
local ipairs = ipairs
|
||||
local table = table
|
||||
local unpack = unpack or table.unpack -- v5.1: unpack, v5.2: table.unpack
|
||||
local dbus = dbus
|
||||
local unpack = unpack
|
||||
local type = type
|
||||
|
||||
--- Remote control module allowing usage of awesome-client.
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
local setmetatable = setmetatable
|
||||
local string = string
|
||||
local table = table
|
||||
local unpack = unpack or table.unpack -- v5.1: unpack, v5.2: table.unpack
|
||||
local tonumber = tonumber
|
||||
local unpack = unpack
|
||||
local ipairs = ipairs
|
||||
local pairs = pairs
|
||||
local type = type
|
||||
|
|
|
@ -12,7 +12,6 @@ local cairo = lgi.cairo
|
|||
local Pango = lgi.Pango
|
||||
local PangoCairo = lgi.PangoCairo
|
||||
local type = type
|
||||
local unpack = unpack
|
||||
local setmetatable = setmetatable
|
||||
local pairs = pairs
|
||||
local error = error
|
||||
|
|
Loading…
Reference in New Issue