From 7d749856a80a8d60a47c3e98deb6393508c4b825 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 16 Mar 2015 18:16:45 +0300 Subject: [PATCH] tag names should always be strings so that our epic feature of saving tiled layouts does not fuck up --- rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.lua b/rc.lua index 40aaa57..05c8584 100644 --- a/rc.lua +++ b/rc.lua @@ -166,7 +166,7 @@ for s = 1, screen.count() do default_tiled = layouts.tiled[1] end for tag = 1, 9 do - local name = tags[s].name[tag] or tag + local name = tags[s].name[tag] or tostring(tag) local layout = tags[s].layout[tag] or default_tiled tags[s].name[tag] = name tags[s].layout[tag] = layout