More tab fixes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29840 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2011-05-08 20:35:29 +00:00
parent d68d02ec11
commit ab99e941db
4 changed files with 12 additions and 12 deletions

View file

@ -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 */

View file

@ -255,7 +255,7 @@ void draw_progressbar(struct gui_wps *gwps, int line, struct progressbar *pb)
}
#endif
flags |= DONT_CLEAR_EXCESS;
}
}
if (!pb->nobar)
{

View file

@ -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;

View file

@ -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;