summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2013-10-26 17:02:58 +0200
committeranbr <vdr07@deltab.de>2013-10-26 17:02:58 +0200
commit3fa6528d6d68d9f549c7007e8427d53af8168117 (patch)
treef04751393b6b7a345166eb9f1eb3c730308aee28
parent4f8c014e73e9ba11172d6070d8a123f9da20361f (diff)
downloadvdr-plugin-imonlcd-3fa6528d6d68d9f549c7007e8427d53af8168117.tar.gz
vdr-plugin-imonlcd-3fa6528d6d68d9f549c7007e8427d53af8168117.tar.bz2
Small improvement of the function FormatReplayTime
-rw-r--r--watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch.c b/watch.c
index 5622aad..9f7b5b0 100644
--- a/watch.c
+++ b/watch.c
@@ -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;