forked from len0rd/rockbox
Fixed broken reset runtime confirmation dialouge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5112 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a30c1caaf5
commit
d00bebae0a
1 changed files with 3 additions and 3 deletions
|
@ -1238,15 +1238,15 @@ static bool view_runtime(void)
|
||||||
lcd_update();
|
lcd_update();
|
||||||
while (1) {
|
while (1) {
|
||||||
key = button_get_w_tmo(HZ*10);
|
key = button_get_w_tmo(HZ*10);
|
||||||
if ( key & BUTTON_REL )
|
|
||||||
continue;
|
|
||||||
if ( key == SETTINGS_OK ) {
|
if ( key == SETTINGS_OK ) {
|
||||||
if ( state == 1 )
|
if ( state == 1 )
|
||||||
global_settings.runtime = 0;
|
global_settings.runtime = 0;
|
||||||
else
|
else
|
||||||
global_settings.topruntime = 0;
|
global_settings.topruntime = 0;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
if ( key & BUTTON_REL )
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue