off by one. FS#11369

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26655 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-06-07 11:13:56 +00:00
parent 1ce70a679c
commit 4c040943bb

View file

@ -997,6 +997,7 @@ static int parse_viewport(const char *wps_bufptr,
/* Check for trailing ) */
if (*ptr != ')')
return WPS_ERROR_INVALID_PARAM;
ptr++;
if (follow_lang_direction && lang_is_rtl())
{