mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed uninitialized item area coordinates in cSkinLCARSDisplayMenu
This commit is contained in:
		| @@ -2148,6 +2148,7 @@ Marko M | ||||
|  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 | ||||
|   | ||||
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -8063,3 +8063,5 @@ Video Disk Recorder Revision History | ||||
|   Marko M<>kel<65>). | ||||
| - Simplified some conditional expressions in skinlcars.c and skinsttng.c (suggested | ||||
|   by Marko M<>kel<65>). | ||||
| - Fixed uninitialized item area coordinates in cSkinLCARSDisplayMenu (reported by | ||||
|   Marko M<>kel<65>). | ||||
|   | ||||
							
								
								
									
										11
									
								
								skinlcars.c
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user