summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-16 12:55:33 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-16 12:55:33 +0100
commit3ecbdd489e19a1844843fc1e5e60a689908ffc02 (patch)
tree20fe31906255dcb9150b01ca1d636d2f179e469c /dvbapi.c
parent4c018b1c3603a65edce32e7b311bbe53c63cc9ab (diff)
downloadvdr-3ecbdd489e19a1844843fc1e5e60a689908ffc02.tar.gz
vdr-3ecbdd489e19a1844843fc1e5e60a689908ffc02.tar.bz2
Fixed a crash when replaying with DEBUG_OSD=1
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 314d91f6..f59b7d74 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -7,7 +7,7 @@
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
*
- * $Id: dvbapi.c 1.147 2002/02/02 13:04:00 kls Exp $
+ * $Id: dvbapi.c 1.148 2002/02/16 12:55:33 kls Exp $
*/
//#define DVDDEBUG 1
@@ -3017,7 +3017,9 @@ void cDvbApi::Text(int x, int y, const char *s, eDvbColor colorFg, eDvbColor col
void cDvbApi::Flush(void)
{
-#ifndef DEBUG_OSD
+#ifdef DEBUG_OSD
+ refresh();
+#else
if (osd)
osd->Flush();
#endif