summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-08-24 11:42:08 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-08-24 11:42:08 +0200
commit7c2283b50245ee23bbe2e641d1044cf340e79715 (patch)
treecf670e4fc17036a1980663ffaf323bcbdcc405a4
parentca39b3f03a0393b0c241a9ebc4b0d5e14fbc00b0 (diff)
downloadvdr-7c2283b50245ee23bbe2e641d1044cf340e79715.tar.gz
vdr-7c2283b50245ee23bbe2e641d1044cf340e79715.tar.bz2
Fixed a bug in resetting OSD color palettes
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rw-r--r--osdbase.c4
3 files changed, 4 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index c9022154..6561f6d5 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -622,6 +622,7 @@ Torsten Herz <torsten.herz@web.de>
for fixing a possible deadlock when using the "Blue" button in the "Schedules" menu
to switch to an other channel
for reporting a wrong EPG bugfix code number for the MAX_USEFUL_SUBTITLE_LENGTH fix
+ for fixing a bug in resetting OSD color palettes
Steffen Becker <stbecker@rbg.informatik.tu-darmstadt.de>
for reporting a problem with CPU load peaks (in the EPG scanner)
diff --git a/HISTORY b/HISTORY
index fd8a2f02..25c0df24 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2324,3 +2324,4 @@ Video Disk Recorder Revision History
- Added a note about the config files of plugins to INSTALL (thanks to Thomas
Keil).
- VDR now continues to start up, even if there is an error in setup.conf.
+- Fixed a bug in resetting OSD color palettes (thanks to Torsten Herz).
diff --git a/osdbase.c b/osdbase.c
index 0c0e8981..98cae824 100644
--- a/osdbase.c
+++ b/osdbase.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.c 1.9 2003/08/15 13:47:51 kls Exp $
+ * $Id: osdbase.c 1.10 2003/08/24 11:38:27 kls Exp $
*/
#include "osdbase.h"
@@ -70,7 +70,7 @@ int cPalette::Index(eDvbColor Color)
void cPalette::Reset(void)
{
for (int i = 0; i < numColors; i++)
- used[i] = false;
+ used[i] = fetched[i] = false;
full = false;
}