mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 22:22:33 -05:00
some minor changes to checkwps, shouldn't change anything
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24874 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
14f066dc25
commit
0acb38b61c
4 changed files with 6 additions and 4 deletions
|
|
@ -1926,7 +1926,10 @@ static bool wps_parse(struct wps_data *data, const char *wps_bufptr, bool debug)
|
|||
|
||||
#if defined(DEBUG) || defined(SIMULATOR)
|
||||
if (debug)
|
||||
{
|
||||
print_debug_info(data, fail, line_number);
|
||||
debug_skin_usage();
|
||||
}
|
||||
#else
|
||||
(void)debug;
|
||||
#endif
|
||||
|
|
@ -2175,7 +2178,6 @@ bool skin_data_load(enum screen_type screen, struct wps_data *wps_data,
|
|||
char *dot = strrchr(buf, '.');
|
||||
|
||||
strlcpy(bmpdir, buf, dot - buf + 1);
|
||||
|
||||
/* load the bitmaps that were found by the parsing */
|
||||
if (!load_skin_bitmaps(wps_data, bmpdir)) {
|
||||
skin_data_reset(wps_data);
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ struct opt_items {
|
|||
#error ROCKBOX_DIR not defined (should be in autoconf.h)
|
||||
#endif
|
||||
#define ROCKBOX_DIR_LEN sizeof(ROCKBOX_DIR)
|
||||
#endif
|
||||
#endif /* def __PCTOOL__ */
|
||||
|
||||
|
||||
#define FONT_DIR ROCKBOX_DIR "/fonts"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue