From 36ca4967e0ced08ab8d262ba046189e6dfbe71da Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 18 Aug 2009 05:30:59 +0000 Subject: move viewports into the skin buffer, no more viewport limit on the skin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22403 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/wps_debug.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'apps/gui/skin_engine/wps_debug.c') diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c index c4a73a7cfb..e3e6e960e6 100644 --- a/apps/gui/skin_engine/wps_debug.c +++ b/apps/gui/skin_engine/wps_debug.c @@ -495,12 +495,13 @@ static void dump_wps_tokens(struct wps_data *data) } } +#if 0 +/* NOTE: this is probaly not even needed anymore */ static void print_line_info(struct wps_data *data) { int i, j, v; struct wps_line *line; struct wps_subline *subline; - if (wps_verbose_level > 0) { DEBUGF("Number of viewports : %d\n", data->num_viewports); @@ -513,7 +514,7 @@ static void print_line_info(struct wps_data *data) DEBUGF("Number of tokens : %d\n", data->num_tokens); DEBUGF("\n"); } - + if (wps_verbose_level > 1) { for (v = 0; v < data->num_viewports; v++) @@ -549,8 +550,6 @@ static void print_line_info(struct wps_data *data) DEBUGF("\n"); } } -#if 0 -/* NOTE: this is probaly not even needed anymore */ static void print_wps_strings(struct wps_data *data) { int i, len, total_len = 0, buf_used = 0; @@ -588,7 +587,7 @@ void print_debug_info(struct wps_data *data, enum wps_parse_error fail, int line { dump_wps_tokens(data); /* print_wps_strings(data); */ - print_line_info(data); + /* print_line_info(data); */ } #endif /* SIMULATOR */ -- cgit v1.2.3