diff options
Diffstat (limited to 'src/FbTk/LogicCommands.cc')
-rw-r--r-- | src/FbTk/LogicCommands.cc | 2 |
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); |