summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
-rw-r--r--apps/gui/skin_engine/wps_debug.c2
-rw-r--r--apps/gui/skin_engine/wps_internals.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index b9254d9dbd..cca2c956b7 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -2044,7 +2044,7 @@ static bool wps_parse(struct wps_data *data, const char *wps_bufptr, bool debug)
2044 skin_buffer_free_from_front(sizeof(struct wps_token) 2044 skin_buffer_free_from_front(sizeof(struct wps_token)
2045 * (max_tokens - data->num_tokens)); 2045 * (max_tokens - data->num_tokens));
2046 2046
2047#if defined(DEBUG) || defined(SIMULATOR) 2047#ifdef DEBUG_SKIN_ENGINE
2048 if (debug) 2048 if (debug)
2049 { 2049 {
2050 print_debug_info(data, fail, line_number); 2050 print_debug_info(data, fail, line_number);
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c
index a1ebb837d0..1bb9fbe79f 100644
--- a/apps/gui/skin_engine/wps_debug.c
+++ b/apps/gui/skin_engine/wps_debug.c
@@ -19,7 +19,7 @@
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#if defined(DEBUG) || defined(SIMULATOR) 22#ifdef DEBUG_SKIN_ENGINE
23 23
24#include <stdio.h> 24#include <stdio.h>
25#include <string.h> 25#include <string.h>
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index 4ef860a8b7..f3f83370f4 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -386,7 +386,7 @@ struct gui_img* find_image(char label, struct wps_data *data);
386struct skin_viewport* find_viewport(char label, struct wps_data *data); 386struct skin_viewport* find_viewport(char label, struct wps_data *data);
387 387
388 388
389#if defined(DEBUG) || defined(SIMULATOR) 389#ifdef SIMULATOR
390#define DEBUG_SKIN_ENGINE 390#define DEBUG_SKIN_ENGINE
391extern bool debug_wps; 391extern bool debug_wps;
392#endif 392#endif