Index: apps/gui/wps_parser.c =================================================================== --- apps/gui/wps_parser.c (Revision 18060) +++ apps/gui/wps_parser.c (Arbeitskopie) @@ -588,7 +588,7 @@ #endif if (wps_data->num_viewports >= WPS_MAX_VIEWPORTS) - return WPS_ERROR_INVALID_PARAM; + return PARSE_FAIL_LIMITS_EXCEEDED; wps_data->num_viewports++; /* check for the optional letter to signify its a hideable viewport */