More tab fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29840 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d68d02ec11
commit
ab99e941db
4 changed files with 12 additions and 12 deletions
|
@ -951,17 +951,17 @@ static const char* skip_token(const char* s)
|
||||||
return 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);
|
*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. */
|
*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 */
|
/* This function takes a bookmark and parses it. This function also */
|
||||||
|
|
|
@ -255,7 +255,7 @@ void draw_progressbar(struct gui_wps *gwps, int line, struct progressbar *pb)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
flags |= DONT_CLEAR_EXCESS;
|
flags |= DONT_CLEAR_EXCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pb->nobar)
|
if (!pb->nobar)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1308,7 +1308,7 @@ static void skin_data_reset(struct wps_data *wps_data)
|
||||||
wps_data->touchregions = NULL;
|
wps_data->touchregions = NULL;
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_SKIN_VARIABLES
|
#ifdef HAVE_SKIN_VARIABLES
|
||||||
wps_data->skinvars = NULL;
|
wps_data->skinvars = NULL;
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ALBUMART
|
#ifdef HAVE_ALBUMART
|
||||||
wps_data->albumart = NULL;
|
wps_data->albumart = NULL;
|
||||||
|
|
|
@ -74,10 +74,10 @@ static int load_radioart_image(struct radioart *ra, const char* preset_name,
|
||||||
if (!file_exists(path))
|
if (!file_exists(path))
|
||||||
{
|
{
|
||||||
#ifndef HAVE_NOISY_IDLE_MODE
|
#ifndef HAVE_NOISY_IDLE_MODE
|
||||||
cpu_idle_mode(true);
|
cpu_idle_mode(true);
|
||||||
#endif
|
#endif
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
strlcpy(ra->name, preset_name, MAX_FMPRESET_LEN+1);
|
strlcpy(ra->name, preset_name, MAX_FMPRESET_LEN+1);
|
||||||
ra->dim.height = dim->height;
|
ra->dim.height = dim->height;
|
||||||
ra->dim.width = dim->width;
|
ra->dim.width = dim->width;
|
||||||
|
|
Loading…
Reference in a new issue