aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-24 12:03:04 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-24 12:03:04 (GMT)
commit70a24b992ccd4082e00396bdb89ec02dec7e6ec5 (patch)
treedd98e1288fa8ee2e227834cf5c50f47ffa9cd191 /src
parentf1fd7f464bb68dc6f846b1a8c9213f4a2f8c22d8 (diff)
downloadfluxbox-70a24b992ccd4082e00396bdb89ec02dec7e6ec5.zip
fluxbox-70a24b992ccd4082e00396bdb89ec02dec7e6ec5.tar.bz2
don't require final {} on :If
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/LogicCommands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/LogicCommands.cc b/src/FbTk/LogicCommands.cc
index 3545b61..15bcbdb 100644
--- a/src/FbTk/LogicCommands.cc
+++ b/src/FbTk/LogicCommands.cc
@@ -87,7 +87,7 @@ Command<void> *IfCommand::parse(const std::string &command, const std::string &a
87 RefCount<Command<void> > t(0), f(0); 87 RefCount<Command<void> > t(0), f(0);
88 88
89 StringUtil::stringTokensBetween(cmds, args, blah, '{', '}'); 89 StringUtil::stringTokensBetween(cmds, args, blah, '{', '}');
90 if (cmds.size() < 3) 90 if (cmds.size() < 2)
91 return 0; 91 return 0;
92 92
93 cond = CommandParser<bool>::instance().parse(cmds[0], trusted); 93 cond = CommandParser<bool>::instance().parse(cmds[0], trusted);