diff options
author | anbr <vdr07@deltab.de> | 2013-10-26 16:58:05 +0200 |
---|---|---|
committer | anbr <vdr07@deltab.de> | 2013-10-26 16:58:05 +0200 |
commit | 291380701ee48d92b46bf4c1ab0988ee6756ed96 (patch) | |
tree | 8fa75fe24ab28330d93e8ceec5883b78a3336e00 | |
parent | 0f3cf887c868ace108e814bd31fb3bffa1e6568a (diff) | |
download | vdr-plugin-targavfd-291380701ee48d92b46bf4c1ab0988ee6756ed96.tar.gz vdr-plugin-targavfd-291380701ee48d92b46bf4c1ab0988ee6756ed96.tar.bz2 |
Small improvement of the function FormatReplayTime
-rw-r--r-- | watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -621,7 +621,7 @@ const char * cVFDWatch::FormatReplayTime(int current, int total, double dFrameRa 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; |