summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/skin_engine/skin_parser.c4
-rw-r--r--apps/settings.h2
-rw-r--r--tools/checkwps/checkwps.c2
-rw-r--r--tools/checkwps/checkwps.make2
4 files changed, 6 insertions, 4 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"
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index bb0af52..32d7ef1 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -170,7 +170,7 @@ void* plugin_get_buffer(size_t *buffer_size)
}
struct user_settings global_settings = {
- .statusbar = true,
+ .statusbar = STATUSBAR_TOP,
#ifdef HAVE_LCD_COLOR
.bg_color = LCD_DEFAULT_BG,
.fg_color = LCD_DEFAULT_FG,
diff --git a/tools/checkwps/checkwps.make b/tools/checkwps/checkwps.make
index 13fef93..4f6a774 100644
--- a/tools/checkwps/checkwps.make
+++ b/tools/checkwps/checkwps.make
@@ -7,7 +7,7 @@
# $Id$
#
-FLAGS=-g -D__PCTOOL__ -DDEBUG -DROCKBOX_DIR_LEN=9 -DWPS_DIR=\".\" $(TARGET) -Wall
+FLAGS=-g -D__PCTOOL__ $(TARGET) -Wall
SRC= $(call preprocess, $(TOOLSDIR)/checkwps/SOURCES)