mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
				synced 2023-10-19 15:58:31 +00:00 
			
		
		
		
	fixed bug detecting menu item numbers in main menu
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							@@ -211,4 +211,5 @@ Version 0.3.0
 | 
			
		||||
- checking setup conditions for viewelements
 | 
			
		||||
- fixed FadeOut bug
 | 
			
		||||
- fixed crash when opening and closing main menu consecutively
 | 
			
		||||
- fixed bug detecting menu item numbers in main menu
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -240,7 +240,12 @@ void cDisplayMenuItemMainView::SplitMenuText(void) {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        if (found) {
 | 
			
		||||
            //if current char is not a figure anymore, break
 | 
			
		||||
            if (!(s >= '0' && s <= '9')) {
 | 
			
		||||
                //there has to be a space after the menu item number 
 | 
			
		||||
                //plugins with figures in their name are eval :-)
 | 
			
		||||
                if (s != ' ')
 | 
			
		||||
                    found = false;
 | 
			
		||||
                doBreak = true;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user