diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-24 05:58:16 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-24 05:58:16 +0000 |
| commit | 0acb38b61c068bc34ddfea20e88a63dc3bcec3a1 (patch) | |
| tree | 90ea2104ca18bc725ea6bd9cf47e448d6f46b034 /apps | |
| parent | 14f066dc2541f4f7242fca1e67f4f2928504cee2 (diff) | |
| download | rockbox-0acb38b61c068bc34ddfea20e88a63dc3bcec3a1.zip rockbox-0acb38b61c068bc34ddfea20e88a63dc3bcec3a1.tar.gz rockbox-0acb38b61c068bc34ddfea20e88a63dc3bcec3a1.tar.bz2 rockbox-0acb38b61c068bc34ddfea20e88a63dc3bcec3a1.tar.xz | |
some minor changes to checkwps, shouldn't change anything
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24874 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 4 | ||||
| -rw-r--r-- | apps/settings.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 7f4406a..f7808b3 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -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); diff --git a/apps/settings.h b/apps/settings.h index 6a42ca3..7c40c09 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -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" |