mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-27 07:46:24 -04:00
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
This commit is contained in:
parent
f3d5b51359
commit
606f745c7c
1 changed files with 3 additions and 3 deletions
|
|
@ -1379,7 +1379,7 @@ static void format_display(struct gui_wps *gwps, char* buf,
|
||||||
/* Get number of "|" chars in the current conditional;
|
/* Get number of "|" chars in the current conditional;
|
||||||
* used by get_tag when calculating levels.
|
* 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,
|
value = get_tag(gwps->data, id3, nid3, fmt, temp_buf,
|
||||||
sizeof(temp_buf),&tag_length,
|
sizeof(temp_buf),&tag_length,
|
||||||
subline_time_mult, flags, &intval);
|
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
|
/* No value, so skip to else part, using a sufficiently high
|
||||||
value to "hit" the last part of the conditional */
|
value to "hit" the last part of the conditional */
|
||||||
if ((!value) || (!strlen(value)))
|
if ((!value) || (!strlen(value)))
|
||||||
fmt = skip_conditional(gwps, fmt, 1000, NULL);
|
fmt = skip_conditional(NULL, fmt, 1000, NULL);
|
||||||
else
|
else
|
||||||
if(intval > 1) /* enum */
|
if(intval > 1) /* enum */
|
||||||
fmt = skip_conditional(gwps, fmt, intval - 1, NULL);
|
fmt = skip_conditional(NULL, fmt, intval - 1, NULL);
|
||||||
|
|
||||||
level++;
|
level++;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue