allow the full lowercase a-z to be used as conditional viewport grouping id's
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17789 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b1dc552308
commit
d8e56e30d7
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ static int parse_viewport(const char *wps_bufptr,
|
|||
if (*(ptr+1) == '|')
|
||||
{
|
||||
char label = *(ptr+2);
|
||||
if (label >= 'a' && label < 'a' + WPS_MAX_VIEWPORTS)
|
||||
if (label >= 'a' && label <= 'z')
|
||||
{
|
||||
wps_data->viewports[wps_data->num_viewports].hidden_flags = VP_DRAW_HIDEABLE;
|
||||
wps_data->viewports[wps_data->num_viewports].label = label;
|
||||
|
|
Loading…
Reference in a new issue