1
0
Fork 0
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:
Henrik Backe 2004-09-23 19:38:59 +00:00
parent a30c1caaf5
commit d00bebae0a

View file

@ -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;
} }