X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fioncore_misc.lua;h=3451d7be4329411e7517b85c089465202e2f81e7;hb=3102bb90c325d9b29ac304d8f3ea0a17df564fc8;hp=1a0b0eb620b158a349ce86d30e5ed3bb83e85480;hpb=e994f4613fd17422f00170760eefb47427b86660;p=ion3.git diff --git a/ioncore/ioncore_misc.lua b/ioncore/ioncore_misc.lua index 1a0b0eb..3451d7b 100644 --- a/ioncore/ioncore_misc.lua +++ b/ioncore/ioncore_misc.lua @@ -22,7 +22,7 @@ local layouts={ -- attach/creation parameters given in \var{tab}. The layout -- "empty" may not be defined. function ioncore.deflayout(name, tab) - assert(layout ~= "empty") + assert(name ~= "empty") if name=="default" and not tab then layouts[name] = empty