all repos — fluxbox @ 70a24b992ccd4082e00396bdb89ec02dec7e6ec5

custom fork of the fluxbox windowmanager

don't require final {} on :If
Mark Tiefenbruck mark@fluxbox.org
commit

70a24b992ccd4082e00396bdb89ec02dec7e6ec5

parent

f1fd7f464bb68dc6f846b1a8c9213f4a2f8c22d8

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/FbTk/LogicCommands.ccsrc/FbTk/LogicCommands.cc

@@ -87,7 +87,7 @@ RefCount<Command<bool> > cond(0);

RefCount<Command<void> > t(0), f(0); StringUtil::stringTokensBetween(cmds, args, blah, '{', '}'); - if (cmds.size() < 3) + if (cmds.size() < 2) return 0; cond = CommandParser<bool>::instance().parse(cmds[0], trusted);