summaryrefslogtreecommitdiff
path: root/apps/menus
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-12-30 09:45:05 +0100
committerChristian Soffke <christian.soffke@gmail.com>2022-12-30 10:35:50 -0500
commitb321a719d314e30e7038fdd65792e46bcb3edba0 (patch)
tree98143ffc5d92b663c5f2184257ce61d56a377977 /apps/menus
parente180e45e01d257b753f97d7174e20f3e6a8a9378 (diff)
downloadrockbox-b321a719d314e30e7038fdd65792e46bcb3edba0.tar.gz
rockbox-b321a719d314e30e7038fdd65792e46bcb3edba0.zip
option_select & time_menu : Fix unbalanced push/pop activity
Change-Id: Icabbabb16b2f173168a441af474ee8403b908dd4
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/time_menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c
index abf9c23cd0..6043573684 100644
--- a/apps/menus/time_menu.c
+++ b/apps/menus/time_menu.c
@@ -297,8 +297,10 @@ int time_screen(void* ignored)
297 because they always report "02:02:02" as time. 297 because they always report "02:02:02" as time.
298 */ 298 */
299 struct tm *tm = get_time(); 299 struct tm *tm = get_time();
300 if (tm->tm_year==102 && tm->tm_hour==2 && tm->tm_min==2 && tm->tm_sec==2) { 300 if (tm->tm_year==102 && tm->tm_hour==2 && tm->tm_min==2 && tm->tm_sec==2)
301 {
301 splash(4*HZ, "Can't set time/date due to hardware issues!"); 302 splash(4*HZ, "Can't set time/date due to hardware issues!");
303 pop_current_activity();
302 return 0; 304 return 0;
303 } 305 }
304#endif 306#endif