aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Timer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Timer.cc')
-rw-r--r--src/FbTk/Timer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc
index 61875f7..05d938b 100644
--- a/src/FbTk/Timer.cc
+++ b/src/FbTk/Timer.cc
@@ -239,7 +239,7 @@ Command<void> *DelayedCmd::parse(const std::string &command,
239 return 0; 239 return 0;
240 240
241 uint64_t delay = 200; 241 uint64_t delay = 200;
242 StringUtil::fromString<uint64_t>(args.c_str() + err, delay); 242 StringUtil::extractNumber(args.c_str() + err, delay);
243 243
244 return new DelayedCmd(cmd, delay); 244 return new DelayedCmd(cmd, delay);
245} 245}