summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-05-08 20:35:29 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-05-08 20:35:29 +0000
commitab99e941dbf0481a1c0abb3767a745d23b53bfd2 (patch)
treec29f29102cb45ea7b1e474e979cd7b1bf38f1015 /apps
parentd68d02ec115d464e40ee70fa117d0a43158c9376 (diff)
downloadrockbox-ab99e941dbf0481a1c0abb3767a745d23b53bfd2.tar.gz
rockbox-ab99e941dbf0481a1c0abb3767a745d23b53bfd2.tar.bz2
rockbox-ab99e941dbf0481a1c0abb3767a745d23b53bfd2.zip
More tab fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29840 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/bookmark.c16
-rw-r--r--apps/gui/skin_engine/skin_display.c2
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
-rw-r--r--apps/radio/radioart.c4
4 files changed, 12 insertions, 12 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index 8de06999f4..28aecb4c23 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -951,17 +951,17 @@ static const char* skip_token(const char* s)
return s;
}
-static const char* int_token(const char* s, int* dest)
-{
+static const char* int_token(const char* s, int* dest)
+{
*dest = atoi(s);
- return skip_token(s);
-}
+ return skip_token(s);
+}
-static const char* long_token(const char* s, long* dest)
-{
+static const char* long_token(const char* s, long* dest)
+{
*dest = atoi(s); /* Should be atol, but we don't have it. */
- return skip_token(s);
-}
+ return skip_token(s);
+}
/* ----------------------------------------------------------------------- */
/* This function takes a bookmark and parses it. This function also */
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c
index e5e6389b87..a967114125 100644
--- a/apps/gui/skin_engine/skin_display.c
+++ b/apps/gui/skin_engine/skin_display.c
@@ -255,7 +255,7 @@ void draw_progressbar(struct gui_wps *gwps, int line, struct progressbar *pb)
}
#endif
flags |= DONT_CLEAR_EXCESS;
- }
+ }
if (!pb->nobar)
{
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index fbea2963f2..4158165f53 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1308,7 +1308,7 @@ static void skin_data_reset(struct wps_data *wps_data)
wps_data->touchregions = NULL;
#endif
#ifdef HAVE_SKIN_VARIABLES
- wps_data->skinvars = NULL;
+ wps_data->skinvars = NULL;
#endif
#ifdef HAVE_ALBUMART
wps_data->albumart = NULL;
diff --git a/apps/radio/radioart.c b/apps/radio/radioart.c
index 5e501414ca..e21b135342 100644
--- a/apps/radio/radioart.c
+++ b/apps/radio/radioart.c
@@ -74,10 +74,10 @@ static int load_radioart_image(struct radioart *ra, const char* preset_name,
if (!file_exists(path))
{
#ifndef HAVE_NOISY_IDLE_MODE
- cpu_idle_mode(true);
+ cpu_idle_mode(true);
#endif
return -1;
- }
+ }
strlcpy(ra->name, preset_name, MAX_FMPRESET_LEN+1);
ra->dim.height = dim->height;
ra->dim.width = dim->width;