mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed a crash when pressing Left while at the first character of a cMenuEditStrItem
This commit is contained in:
		| @@ -1885,6 +1885,8 @@ Christian Wieninger <cwieninger@gmx.de> | ||||
|  for reporting a problem with the device selection in case of timer conflicts | ||||
|  for a patch that fixed part of a crash in i18n character set conversion | ||||
|  for reporting a bug in stripping the context in I18nTranslate() | ||||
|  for fixing a crash when pressing Left while at the first character of a | ||||
|  cMenuEditStrItem | ||||
|  | ||||
| Thiemo Gehrke <tgehrke@reel-multimedia.com> | ||||
|  for suggesting to add a setup option to turn off the automatic timeout of the | ||||
|   | ||||
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -5455,3 +5455,5 @@ Video Disk Recorder Revision History | ||||
|   Denis Knauf). | ||||
| - Added a missing SetVolumeDevice() call in cDevice::SetPrimaryDevice() (reported | ||||
|   by Reinhard Nissl). | ||||
| - Fixed a crash when pressing Left while at the first character of a cMenuEditStrItem | ||||
|   (thanks to Christian Wieninger). | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: menuitems.c 1.51 2007/08/17 13:48:07 kls Exp $ | ||||
|  * $Id: menuitems.c 1.52 2007/10/13 10:39:40 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "menuitems.h" | ||||
| @@ -499,9 +499,9 @@ eOSState cMenuEditStrItem::ProcessKey(eKeys Key) | ||||
|                     if (!insert || newchar) | ||||
|                        pos--; | ||||
|                     newchar = true; | ||||
|                     if (!insert && Utf8is(alpha, valueUtf8[pos])) | ||||
|                        uppercase = Utf8is(upper, valueUtf8[pos]); | ||||
|                     } | ||||
|                  if (!insert && Utf8is(alpha, valueUtf8[pos])) | ||||
|                     uppercase = Utf8is(upper, valueUtf8[pos]); | ||||
|                  break; | ||||
|     case kRight|k_Repeat: | ||||
|     case kRight: if (InEditMode()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user