mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
[bugfix] run_debug_screen case-insensitive matching
Change-Id: If7ed57b34a7a13d7332742c117fdf67fc7e189d3
This commit is contained in:
parent
8aa54286c4
commit
4930fac05c
1 changed files with 1 additions and 1 deletions
|
@ -2896,7 +2896,7 @@ int debug_menu(void)
|
|||
bool run_debug_screen(char* screen)
|
||||
{
|
||||
for (unsigned i=0; i<ARRAYLEN(menuitems); i++)
|
||||
if (!strcmp(screen, menuitems[i].desc))
|
||||
if (!strcasecmp(screen, menuitems[i].desc))
|
||||
{
|
||||
FOR_NB_SCREENS(j)
|
||||
viewportmanager_theme_enable(j, false, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue