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
1
HISTORY
1
HISTORY
@ -211,4 +211,5 @@ Version 0.3.0
|
|||||||
- checking setup conditions for viewelements
|
- checking setup conditions for viewelements
|
||||||
- fixed FadeOut bug
|
- 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 (found) {
|
||||||
|
//if current char is not a figure anymore, break
|
||||||
if (!(s >= '0' && s <= '9')) {
|
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;
|
doBreak = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user