summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/wps_debug.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-08-18 05:30:59 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-08-18 05:30:59 +0000
commit36ca4967e0ced08ab8d262ba046189e6dfbe71da (patch)
tree4b441f67ac8f99af82f208a930de7f797d4bf712 /apps/gui/skin_engine/wps_debug.c
parentfed07312edff7c69f03946bf90f57f7b57f9be39 (diff)
downloadrockbox-36ca4967e0ced08ab8d262ba046189e6dfbe71da.tar.gz
rockbox-36ca4967e0ced08ab8d262ba046189e6dfbe71da.zip
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
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r--apps/gui/skin_engine/wps_debug.c9
1 files changed, 4 insertions, 5 deletions
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 */