mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-21 11:02:45 -05:00
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) == '|')
|
if (*(ptr+1) == '|')
|
||||||
{
|
{
|
||||||
char label = *(ptr+2);
|
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].hidden_flags = VP_DRAW_HIDEABLE;
|
||||||
wps_data->viewports[wps_data->num_viewports].label = label;
|
wps_data->viewports[wps_data->num_viewports].label = label;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue