summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
951 return s; 951 return s;
952} 952}
953 953
954static const char* int_token(const char* s, int* dest) 954static const char* int_token(const char* s, int* dest)
955{ 955{
956 *dest = atoi(s); 956 *dest = atoi(s);
957 return skip_token(s); 957 return skip_token(s);
958} 958}
959 959
960static const char* long_token(const char* s, long* dest) 960static const char* long_token(const char* s, long* dest)
961{ 961{
962 *dest = atoi(s); /* Should be atol, but we don't have it. */ 962 *dest = atoi(s); /* Should be atol, but we don't have it. */
963 return skip_token(s); 963 return skip_token(s);
964} 964}
965 965
966/* ----------------------------------------------------------------------- */ 966/* ----------------------------------------------------------------------- */
967/* This function takes a bookmark and parses it. This function also */ 967/* 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)
255 } 255 }
256#endif 256#endif
257 flags |= DONT_CLEAR_EXCESS; 257 flags |= DONT_CLEAR_EXCESS;
258 } 258 }
259 259
260 if (!pb->nobar) 260 if (!pb->nobar)
261 { 261 {
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)
1308 wps_data->touchregions = NULL; 1308 wps_data->touchregions = NULL;
1309#endif 1309#endif
1310#ifdef HAVE_SKIN_VARIABLES 1310#ifdef HAVE_SKIN_VARIABLES
1311 wps_data->skinvars = NULL; 1311 wps_data->skinvars = NULL;
1312#endif 1312#endif
1313#ifdef HAVE_ALBUMART 1313#ifdef HAVE_ALBUMART
1314 wps_data->albumart = NULL; 1314 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,
74 if (!file_exists(path)) 74 if (!file_exists(path))
75 { 75 {
76#ifndef HAVE_NOISY_IDLE_MODE 76#ifndef HAVE_NOISY_IDLE_MODE
77 cpu_idle_mode(true); 77 cpu_idle_mode(true);
78#endif 78#endif
79 return -1; 79 return -1;
80 } 80 }
81 strlcpy(ra->name, preset_name, MAX_FMPRESET_LEN+1); 81 strlcpy(ra->name, preset_name, MAX_FMPRESET_LEN+1);
82 ra->dim.height = dim->height; 82 ra->dim.height = dim->height;
83 ra->dim.width = dim->width; 83 ra->dim.width = dim->width;