--
-- ion/share/ioncore_winprops.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2007.
+-- Copyright (c) Tuomo Valkonen 2004-2008.
--
-- See the included file LICENSE for details.
--
local winprops={}
local function ifnil(...)
+ local arg={...}
local n=#arg
local function nxt(_, i)
local j=i+1
if p==nil then
return true
else
- return (p==(i and true))
- -- hack for nil
+ return (p==(i and true or false))
+ -- hack for nil i
end
end