From d0597d735378318b7db67d20c0dcebad3d9345b1 Mon Sep 17 00:00:00 2001 From: Bart Trojanowski Date: Thu, 23 Oct 2008 21:32:53 -0400 Subject: [PATCH] set_conf shoudl accept booleans also Signed-off-by: Bart Trojanowski Signed-off-by: Dave O'Neill --- core/wmii.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/wmii.lua b/core/wmii.lua index ee00e4b..d7bb49b 100644 --- a/core/wmii.lua +++ b/core/wmii.lua @@ -1395,7 +1395,8 @@ function set_conf (first,second) elseif type(first) == "string" and (type(second) == "string" - or type(second) == "number") then + or type(second) == "number" + or type(second) == "boolean") then config[first] = second else -- 2.11.4.GIT