Fixed default theme handling in themeMenuScan().
This commit is contained in:
parent
992c4c482b
commit
5b35642de7
@ -209,8 +209,10 @@ int themeMenuScan(const char* target) {
|
||||
menuEntry_s* me = menuCreateEntry(ENTRY_TYPE_THEME);
|
||||
|
||||
if(me) {
|
||||
if(menuEntryLoad(me, "Default Theme", false));//Create Default theme Menu Entry
|
||||
if(menuEntryLoad(me, "Default Theme", false))//Create Default theme Menu Entry
|
||||
menuAddEntryToFront(me);
|
||||
else
|
||||
menuDeleteEntry(me);
|
||||
}
|
||||
// Swap the menu and clear the previous menu
|
||||
s_curMenu = !s_curMenu;
|
||||
|
Loading…
Reference in New Issue
Block a user