mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed bug detecting menu item numbers in main menu
This commit is contained in:
parent
a021515385
commit
8e1db50601
3
HISTORY
3
HISTORY
@ -210,5 +210,6 @@ Version 0.3.0
|
||||
|
||||
- checking setup conditions for viewelements
|
||||
- fixed FadeOut bug
|
||||
- fixed crash when opening and closing main menu consecutively
|
||||
- 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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user