diff options
author | Henrik Backe <henrik@backe.eu> | 2004-09-23 19:38:59 +0000 |
---|---|---|
committer | Henrik Backe <henrik@backe.eu> | 2004-09-23 19:38:59 +0000 |
commit | d00bebae0a88f5320a2f1afc16b61b7d302f8306 (patch) | |
tree | 3eb68556a06a87e0a736bce8fba2ff35bf984e96 /apps | |
parent | a30c1caaf5cb608ae5ee95cecb3666914fb9bbaa (diff) |
Fixed broken reset runtime confirmation dialouge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5112 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 7ef531f4df..f23e1b8990 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1238,15 +1238,15 @@ static bool view_runtime(void) lcd_update(); while (1) { key = button_get_w_tmo(HZ*10); - if ( key & BUTTON_REL ) - continue; if ( key == SETTINGS_OK ) { if ( state == 1 ) global_settings.runtime = 0; else global_settings.topruntime = 0; + break; } - break; + if ( key & BUTTON_REL ) + break; } break; } |