summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/screens.c b/apps/screens.c
index ab4c5dab60..4cf56b8192 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1337,21 +1337,21 @@ bool view_runtime(void)
1337#endif 1337#endif
1338 ) 1338 )
1339 { 1339 {
1340 global_settings.runtime = 0; 1340 global_status.runtime = 0;
1341 } 1341 }
1342 else 1342 else
1343#endif 1343#endif
1344 { 1344 {
1345 global_settings.runtime += ((current_tick - lasttime) / HZ); 1345 global_status.runtime += ((current_tick - lasttime) / HZ);
1346 } 1346 }
1347 lasttime = current_tick; 1347 lasttime = current_tick;
1348 1348
1349 t = global_settings.runtime; 1349 t = global_status.runtime;
1350 FOR_NB_SCREENS(i) 1350 FOR_NB_SCREENS(i)
1351 screens[i].puts(0, y[i]++, str(LANG_CURRENT_TIME)); 1351 screens[i].puts(0, y[i]++, str(LANG_CURRENT_TIME));
1352 } 1352 }
1353 else { 1353 else {
1354 t = global_settings.topruntime; 1354 t = global_status.topruntime;
1355 FOR_NB_SCREENS(i) 1355 FOR_NB_SCREENS(i)
1356 screens[i].puts(0, y[i]++, str(LANG_TOP_TIME)); 1356 screens[i].puts(0, y[i]++, str(LANG_TOP_TIME));
1357 } 1357 }
@@ -1382,9 +1382,9 @@ bool view_runtime(void)
1382 if(gui_syncyesno_run(&message, NULL, NULL)==YESNO_YES) 1382 if(gui_syncyesno_run(&message, NULL, NULL)==YESNO_YES)
1383 { 1383 {
1384 if ( state == 1 ) 1384 if ( state == 1 )
1385 global_settings.runtime = 0; 1385 global_status.runtime = 0;
1386 else 1386 else
1387 global_settings.topruntime = 0; 1387 global_status.topruntime = 0;
1388 } 1388 }
1389 break; 1389 break;
1390 default: 1390 default: