1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Bugfix in closing window in DEBUG_OSD mode

This commit is contained in:
Klaus Schmidinger 2000-08-06 14:08:33 +02:00
parent 6c5a721a8c
commit 3846ba7338
2 changed files with 7 additions and 3 deletions

View File

@ -100,7 +100,7 @@ Video Disk Recorder Revision History
the 'timers.conf' file with a text editor, or by defining/modifying the timer the 'timers.conf' file with a text editor, or by defining/modifying the timer
via the SVDRP interface. via the SVDRP interface.
2000-08-06: 2000-08-06: Version 0.61
- When scrolling through a list it now moves a full page up or down when the - When scrolling through a list it now moves a full page up or down when the
cursor reaches the top or bottom of the menu (thanks to Heino Goldenstein!). cursor reaches the top or bottom of the menu (thanks to Heino Goldenstein!).
@ -122,3 +122,4 @@ Video Disk Recorder Revision History
- New SVDRP command UPDT to update an existing timer (or add a new one if it - New SVDRP command UPDT to update an existing timer (or add a new one if it
doesn't yet exist). doesn't yet exist).
- New version of the 'epg2timers' tool (with a modified channel list). - New version of the 'epg2timers' tool (with a modified channel list).
- Bugfix in closing window in DEBUG_OSD mode.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: dvbapi.c 1.21 2000/08/06 12:00:13 kls Exp $ * $Id: dvbapi.c 1.22 2000/08/06 14:06:14 kls Exp $
*/ */
#include "dvbapi.h" #include "dvbapi.h"
@ -1239,7 +1239,10 @@ void cDvbApi::Open(int w, int h)
void cDvbApi::Close(void) void cDvbApi::Close(void)
{ {
#ifdef DEBUG_OSD #ifdef DEBUG_OSD
delwin(window); if (window) {
delwin(window);
window = 0;
}
#else #else
Cmd(OSD_Close); Cmd(OSD_Close);
#endif #endif