diff options
Diffstat (limited to 'apps/gui/wps_parser.c')
-rw-r--r-- | apps/gui/wps_parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index 248269ddcb..fb0b3ac4c6 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c | |||
@@ -1163,6 +1163,7 @@ static struct touchaction touchactions[] = { | |||
1163 | {"menu", ACTION_WPS_MENU }, {"browse", ACTION_WPS_BROWSE }, | 1163 | {"menu", ACTION_WPS_MENU }, {"browse", ACTION_WPS_BROWSE }, |
1164 | {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE }, | 1164 | {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE }, |
1165 | {"quickscreen", ACTION_WPS_QUICKSCREEN },{"contextmenu", ACTION_WPS_CONTEXT }, | 1165 | {"quickscreen", ACTION_WPS_QUICKSCREEN },{"contextmenu", ACTION_WPS_CONTEXT }, |
1166 | {"playlist", ACTION_WPS_VIEW_PLAYLIST }, | ||
1166 | }; | 1167 | }; |
1167 | static int parse_touchregion(const char *wps_bufptr, | 1168 | static int parse_touchregion(const char *wps_bufptr, |
1168 | struct wps_token *token, struct wps_data *wps_data) | 1169 | struct wps_token *token, struct wps_data *wps_data) |
@@ -1191,6 +1192,7 @@ static int parse_touchregion(const char *wps_bufptr, | |||
1191 | * contextmenu - open the context menu | 1192 | * contextmenu - open the context menu |
1192 | */ | 1193 | */ |
1193 | 1194 | ||
1195 | |||
1194 | if ((wps_data->touchregion_count +1 >= MAX_TOUCHREGIONS) || (*ptr != '|')) | 1196 | if ((wps_data->touchregion_count +1 >= MAX_TOUCHREGIONS) || (*ptr != '|')) |
1195 | return WPS_ERROR_INVALID_PARAM; | 1197 | return WPS_ERROR_INVALID_PARAM; |
1196 | ptr++; | 1198 | ptr++; |