diff options
author | anbr <vdr07@deltab.de> | 2013-10-26 17:02:58 +0200 |
---|---|---|
committer | anbr <vdr07@deltab.de> | 2013-10-26 17:02:58 +0200 |
commit | 3fa6528d6d68d9f549c7007e8427d53af8168117 (patch) | |
tree | f04751393b6b7a345166eb9f1eb3c730308aee28 | |
parent | 4f8c014e73e9ba11172d6070d8a123f9da20361f (diff) | |
download | vdr-plugin-imonlcd-3fa6528d6d68d9f549c7007e8427d53af8168117.tar.gz vdr-plugin-imonlcd-3fa6528d6d68d9f549c7007e8427d53af8168117.tar.bz2 |
Small improvement of the function FormatReplayTime
-rw-r--r-- | watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -756,7 +756,7 @@ const char * ciMonWatch::FormatReplayTime(int current, int total, double dFrameR int cs = (int)((double)current / dFrameRate); int ts = (int)((double)total / dFrameRate); - bool g = ((cs / 3600) > 0) || ((ts / 3600) > 0); + bool g = (cs > 3600) || (ts > 3600); int cm = cs / 60; cs %= 60; |