diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-03-28 14:59:16 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-03-28 18:20:20 +0100 |
commit | 7ca598f64e22d7ba776282435694d4d21c65dbed (patch) | |
tree | d90a27ac7d7764de5a7b1a5233a1ab565c5af5b0 /epggrid.c | |
parent | 4474b5f5b5380f6cc7588d95106a935e14398e9f (diff) | |
download | vdr-plugin-tvguide-7ca598f64e22d7ba776282435694d4d21c65dbed.tar.gz vdr-plugin-tvguide-7ca598f64e22d7ba776282435694d4d21c65dbed.tar.bz2 |
Compile again with VDR < 2.3.0
Diffstat (limited to 'epggrid.c')
-rw-r--r-- | epggrid.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -145,12 +145,16 @@ void cEpgGrid::drawText() { drawIcon("Switch", theme.Color(clrButtonYellow));
if (hasTimer) {
const cTimer *timer = NULL;
+#if VDRVERSNUM >= 20301
{
LOCK_TIMERS_READ;
timer = Timers->GetMatch(event);
}
+#else
+ timer = Timers.GetMatch(event);
+#endif
if (timer)
-#ifdef USE_SWITCHONLY
+#ifdef SWITCHONLYPATCH
if (timer->HasFlags(tfSwitchOnly))
drawIcon("Switch", theme.Color(clrButtonYellow));
else if (timer->HasFlags(tfActive))
|