summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2006-08-29 12:54:22 +0000
committerMagnus Holmgren <magnushol@gmail.com>2006-08-29 12:54:22 +0000
commit606f745c7cdd2120320224d4df938f1d3bef013c (patch)
treeae1785b2b38ed4ec344e351e77c4a7dd7b458b2a
parentf3d5b51359f0344fda37e944dac8c968703b52c5 (diff)
downloadrockbox-606f745c7cdd2120320224d4df938f1d3bef013c.zip
rockbox-606f745c7cdd2120320224d4df938f1d3bef013c.tar.gz
rockbox-606f745c7cdd2120320224d4df938f1d3bef013c.tar.bz2
rockbox-606f745c7cdd2120320224d4df938f1d3bef013c.tar.xz
WPS: Fix problem with transparancy in the first image of an enum.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10793 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/gwps-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 600eff1..adda440 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -1379,7 +1379,7 @@ static void format_display(struct gui_wps *gwps, char* buf,
/* Get number of "|" chars in the current conditional;
* used by get_tag when calculating levels.
*/
- skip_conditional(NULL, fmt, 0, &intval);
+ skip_conditional(gwps, fmt, 0, &intval);
value = get_tag(gwps->data, id3, nid3, fmt, temp_buf,
sizeof(temp_buf),&tag_length,
subline_time_mult, flags, &intval);
@@ -1393,10 +1393,10 @@ static void format_display(struct gui_wps *gwps, char* buf,
/* No value, so skip to else part, using a sufficiently high
value to "hit" the last part of the conditional */
if ((!value) || (!strlen(value)))
- fmt = skip_conditional(gwps, fmt, 1000, NULL);
+ fmt = skip_conditional(NULL, fmt, 1000, NULL);
else
if(intval > 1) /* enum */
- fmt = skip_conditional(gwps, fmt, intval - 1, NULL);
+ fmt = skip_conditional(NULL, fmt, intval - 1, NULL);
level++;
break;