1
0
Fork 0
forked from len0rd/rockbox

fix FS#11368 - %V was eating the whole line so the %Vf() and %Vb() tags were being ignored

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26653 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-06-07 10:47:21 +00:00
parent 9f2bd9893b
commit 04fd0ce374

View file

@ -1017,7 +1017,7 @@ static int parse_viewport(const char *wps_bufptr,
add_to_ll_chain(&wps_data->viewports, list);
curr_vp = skin_vp;
/* Skip the rest of the line */
return skip_end_of_line(wps_bufptr);
return ptr-wps_bufptr;
}
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
static int parse_viewportcolour(const char *wps_bufptr,