From 1fe1da5ca0d9bfb84be88be61ded7dad667db05d Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Thu, 21 Aug 2008 12:53:32 -0700 Subject: fix parsing of Delay command --- src/FbTk/Timer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc index a8c1c14..385b342 100644 --- a/src/FbTk/Timer.cc +++ b/src/FbTk/Timer.cc @@ -251,7 +251,8 @@ Command *DelayedCmd::parse(const std::string &command, const std::string &args, bool trusted) { std::string cmd_str; - int err = StringUtil::getStringBetween(cmd_str, args.c_str(), '{', '}'); + int err = StringUtil::getStringBetween(cmd_str, args.c_str(), '{', '}', + " \t\n", true); if (err == 0) return 0; -- cgit v0.11.2