summaryrefslogtreecommitdiffstats
path: root/apps/alarm_menu.c
diff options
context:
space:
mode:
authorChristi Scarborough <christi@coraline.org>2005-07-05 22:27:54 +0000
committerChristi Scarborough <christi@coraline.org>2005-07-05 22:27:54 +0000
commitbe7894509feb701630efa4a1a18a5af621068bac (patch)
tree19d18fd09ac3de9df25473091c423245668a40f8 /apps/alarm_menu.c
parent5081182fe13f1158d41138b79985dff8b0632ca1 (diff)
downloadrockbox-be7894509feb701630efa4a1a18a5af621068bac.tar.gz
rockbox-be7894509feb701630efa4a1a18a5af621068bac.tar.bz2
rockbox-be7894509feb701630efa4a1a18a5af621068bac.zip
(1) Patch 1231281: Alignment tags for the WPS by Per Holmaeng. Use %al for left align, %ac for centre, %ar for right. It is currently not possible to use more than one %a? tag per WPS line. (2) Lots of tabs removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7034 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/alarm_menu.c')
-rw-r--r--apps/alarm_menu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/alarm_menu.c b/apps/alarm_menu.c
index 47d2c1226b..a3ddbeea79 100644
--- a/apps/alarm_menu.c
+++ b/apps/alarm_menu.c
@@ -46,7 +46,7 @@ bool alarm_screen(void)
rtc_get_alarm(&h, &m);
- if (m > 60 || h > 24) { /* after battery-change RTC-values are out of range */
+ if (m > 60 || h > 24) { /* after battery-change RTC-values are out of range */
m = 0;
h = 12;
} else {
@@ -86,7 +86,7 @@ bool alarm_screen(void)
lcd_puts(0,1,str(LANG_ALARM_MOD_SHUTDOWN));
lcd_update();
sleep(HZ);
- done = true;
+ done = true;
} else {
lcd_clear_display();
lcd_puts(0,0,str(LANG_ALARM_MOD_ERROR));
@@ -142,9 +142,9 @@ bool alarm_screen(void)
case BUTTON_MENU:
#endif
lcd_clear_display();
- lcd_puts(0,0,str(LANG_ALARM_MOD_DISABLE));
- lcd_update();
- sleep(HZ);
+ lcd_puts(0,0,str(LANG_ALARM_MOD_DISABLE));
+ lcd_update();
+ sleep(HZ);
rtc_enable_alarm(false);
done = true;
break;