diff options
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r-- | src/ClockTool.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc index 1fcdb53..3591f4f 100644 --- a/src/ClockTool.cc +++ b/src/ClockTool.cc | |||
@@ -72,9 +72,10 @@ uint64_t calcNextTimeout(const std::string& fmt_string) { | |||
72 | 72 | ||
73 | if (showSeconds(fmt_string)) { // microseconds till next full second | 73 | if (showSeconds(fmt_string)) { // microseconds till next full second |
74 | return FbTk::FbTime::remainingNext(FbTk::FbTime::IN_SECONDS); | 74 | return FbTk::FbTime::remainingNext(FbTk::FbTime::IN_SECONDS); |
75 | } else { // microseconds until next full minute | 75 | } |
76 | return FbTk::FbTime::remainingNext(60L * FbTk::FbTime::IN_SECONDS); | 76 | |
77 | } | 77 | // microseconds until next full minute |
78 | return FbTk::FbTime::remainingNext(60L * FbTk::FbTime::IN_SECONDS); | ||
78 | } | 79 | } |
79 | 80 | ||
80 | 81 | ||