summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-07-12 12:03:20 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-07-12 21:39:06 -0400
commitffa8626b0c93f8a65e0e17190917f7f173160842 (patch)
treed6d9498cdaa0cfff06bc5e079a195f2c63dd1237 /apps/misc.c
parentd85f796890f496cc89e0dd2588f123432638ab64 (diff)
downloadrockbox-ffa8626b0c93f8a65e0e17190917f7f173160842.tar.gz
rockbox-ffa8626b0c93f8a65e0e17190917f7f173160842.zip
Fix whitespace in files for following commit.
Change-Id: I4adb8a152e9b99fcd26d95da7334d7d0cbe2a036
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/misc.c b/apps/misc.c
index d7d4bdd2f9..91244f2c39 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -1,10 +1,10 @@
1/*************************************************************************** 1/***************************************************************************
2 * __________ __ ___. 2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___ 3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / 4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/ 7 * \/ \/ \/ \/ \/
8 * $Id$ 8 * $Id$
9 * 9 *
10 * Copyright (C) 2002 by Daniel Stenberg 10 * Copyright (C) 2002 by Daniel Stenberg
@@ -424,7 +424,7 @@ bool list_stop_handler(void)
424 424
425 if (TIME_BEFORE(current_tick, last_off + HZ/2)) 425 if (TIME_BEFORE(current_tick, last_off + HZ/2))
426 { 426 {
427 if (charger_inserted()) 427 if (charger_inserted())
428 { 428 {
429 charging_splash(); 429 charging_splash();
430 ret = true; /* screen is dirty, caller needs to refresh */ 430 ret = true; /* screen is dirty, caller needs to refresh */
@@ -1064,7 +1064,7 @@ void format_time(char* buf, int buf_size, long t)
1064 int const seconds = time % 60; 1064 int const seconds = time % 60;
1065 const char * const sign = &"-"[t < 0 ? 0 : 1]; 1065 const char * const sign = &"-"[t < 0 ? 0 : 1];
1066 1066
1067 if ( hours == 0 ) 1067 if ( hours == 0 )
1068 { 1068 {
1069 snprintf(buf, buf_size, "%s%d:%02d", sign, minutes, seconds); 1069 snprintf(buf, buf_size, "%s%d:%02d", sign, minutes, seconds);
1070 } 1070 }
@@ -1177,7 +1177,7 @@ bool parse_color(enum screen_type screen, char *text, int *value)
1177{ 1177{
1178 (void)text; (void)value; /* silence warnings on mono bitmap */ 1178 (void)text; (void)value; /* silence warnings on mono bitmap */
1179 (void)screen; 1179 (void)screen;
1180 1180
1181#ifdef HAVE_LCD_COLOR 1181#ifdef HAVE_LCD_COLOR
1182 if (screens[screen].depth > 2) 1182 if (screens[screen].depth > 2)
1183 { 1183 {
@@ -1214,7 +1214,7 @@ int clamp_value_wrap(int value, int max, int min)
1214#endif 1214#endif
1215#endif 1215#endif
1216#define MAX_ACTIVITY_DEPTH 12 1216#define MAX_ACTIVITY_DEPTH 12
1217static enum current_activity 1217static enum current_activity
1218 current_activity[MAX_ACTIVITY_DEPTH] = {ACTIVITY_UNKNOWN}; 1218 current_activity[MAX_ACTIVITY_DEPTH] = {ACTIVITY_UNKNOWN};
1219static int current_activity_top = 0; 1219static int current_activity_top = 0;
1220void push_current_activity(enum current_activity screen) 1220void push_current_activity(enum current_activity screen)