summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-11-16 13:26:55 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-11-16 13:26:55 +0100
commita9acab6b7ef720a6b5f4a9059f3d7843fb83777b (patch)
tree48b5e677105c6ca59c458106185fd4ce55135580
parenta8cbe3a56df6f2994b3b017e7a372300c88e7ce6 (diff)
downloadvdr-a9acab6b7ef720a6b5f4a9059f3d7843fb83777b.tar.gz
vdr-a9acab6b7ef720a6b5f4a9059f3d7843fb83777b.tar.bz2
Fixed uninitialized item area coordinates in cSkinLCARSDisplayMenu
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--skinlcars.c11
3 files changed, 13 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index f674c496..712cc136 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2148,6 +2148,7 @@ Marko Mäkelä <marko.makela@hut.fi>
for pointing out that "Menu button closes" should actually be "Menu key closes"
for fixing a missing initialization in the c'tor of cSkinLCARSDisplayChannel
for suggesting to simplify some conditional expressions in skinlcars.c and skinsttng.c
+ for reporting some uninitialized item area coordinates in cSkinLCARSDisplayMenu
Patrick Rother <krd-vdr@gulu.net>
for reporting a bug in defining timers that only differ in the day of week
diff --git a/HISTORY b/HISTORY
index bbe926c4..92fe649a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -8063,3 +8063,5 @@ Video Disk Recorder Revision History
Marko Mäkelä).
- Simplified some conditional expressions in skinlcars.c and skinsttng.c (suggested
by Marko Mäkelä).
+- Fixed uninitialized item area coordinates in cSkinLCARSDisplayMenu (reported by
+ Marko Mäkelä).
diff --git a/skinlcars.c b/skinlcars.c
index dc1afe6d..d652251e 100644
--- a/skinlcars.c
+++ b/skinlcars.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skinlcars.c 3.5 2013/11/15 15:33:00 kls Exp $
+ * $Id: skinlcars.c 3.6 2013/11/16 13:20:19 kls Exp $
*/
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
@@ -900,6 +900,15 @@ cSkinLCARSDisplayMenu::cSkinLCARSDisplayMenu(void)
ys03 = ys04 - Gap;
ys05 = yb15;
+ // The item area (just to have them initialized, actual setting will be done in SetMenuCategory():
+
+ xi00 = 0;
+ xi01 = 0;
+ xi02 = 0;
+ xi03 = 1;
+ yi00 = 0;
+ yi01 = 1;
+
// The color buttons in submenus:
xb00 = xa06;
xb15 = xa07;