diff options
author | kamel5 <kamel5 (at) gmx (dot) net> | 2018-05-04 11:36:06 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-01-27 11:41:49 +0100 |
commit | b086cf85dcbdbb31e6a89b44babe01d7f0714ae8 (patch) | |
tree | b872cfe58451554f51bf08c48eabc7ec4f9840fb /epggrid.c | |
parent | b054fa2c12f58e2b406be903d92e81f1013e526b (diff) | |
download | vdr-plugin-tvguide-b086cf85dcbdbb31e6a89b44babe01d7f0714ae8.tar.gz vdr-plugin-tvguide-b086cf85dcbdbb31e6a89b44babe01d7f0714ae8.tar.bz2 |
Changes for locking in cChannelColumn::SetTimers()
Diffstat (limited to 'epggrid.c')
-rw-r--r-- | epggrid.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -155,9 +155,11 @@ void cEpgGrid::drawText() { drawIcon("Switch", theme.Color(clrButtonYellow));
if (hasTimer) {
const cTimer *timer = NULL;
+ {
LOCK_TIMERS_READ;
timer = Timers->GetMatch(event);
- if (timer)
+ }
+ if (timer)
#ifdef USE_SWITCHONLY
if (timer->HasFlags(tfSwitchOnly))
drawIcon("Switch", theme.Color(clrButtonYellow));
|