From 16b67e5812e8b6d5425864655c2825512709b538 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Thu, 5 Jul 2007 23:20:58 +0000 Subject: Make sure statusbar is updated when time changes. Fixes FS #7388. Moved time variable around and added init of info struct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13802 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/statusbar.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'apps/gui/statusbar.h') diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h index 2be765b8e8..8862620596 100644 --- a/apps/gui/statusbar.h +++ b/apps/gui/statusbar.h @@ -33,10 +33,6 @@ struct status_info { int volume; int playmode; int repeat; -#if CONFIG_RTC - struct tm *time; -#endif - #if CONFIG_CHARGING bool inserted; #endif @@ -65,7 +61,10 @@ struct gui_statusbar struct status_info info; struct status_info lastinfo; - +#if CONFIG_RTC + struct tm *time; + int last_tm_min; +#endif struct screen * display; }; -- cgit v1.2.3