diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-04-23 16:40:18 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-04-23 16:44:40 +0200 |
commit | 34a088e188a22f179913d363c4a27ae526ed5f58 (patch) | |
tree | 83fd7c2cd58e008d0cf0e2bdf7e3e75aee761b3f /displaymenu.c | |
parent | 2c329b8af99599d33cf7dd4353e01072ca6ff389 (diff) | |
download | skin-lcarsng-34a088e188a22f179913d363c4a27ae526ed5f58.tar.gz skin-lcarsng-34a088e188a22f179913d363c4a27ae526ed5f58.tar.bz2 |
Bugfix0.3.4
Added forgotten API-check
Diffstat (limited to 'displaymenu.c')
-rw-r--r-- | displaymenu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/displaymenu.c b/displaymenu.c index d1c00f5..fa3e175 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -819,7 +819,11 @@ void cLCARSNGDisplayMenu::DrawTimer(const cTimer *Timer, int y, bool MultiRec) osd->DrawRectangle(xs00, y, xs03 - 1, y + lineHeight - 1, ColorBg); cString Date; if (Timer->Recording()) +#if APIVERSNUM > 20502 Date = cString::sprintf("-%s", *TimeString(Timer->StopTimeEvent())); +#else + Date = cString::sprintf("-%s", *TimeString(Timer->StopTime())); +#endif else { time_t Now = time(NULL); #if APIVERSNUM > 20502 |