Changeset 16503
- Timestamp:
- Feb 15, 2008, 9:37:33 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psRegion.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psRegion.c
r13991 r16503 103 103 } 104 104 105 // XXX this is perhaps excessive: if the string is empty, assume 0,0,0,0 106 if (*region == 0) { 107 return psRegionSet(0,0,0,0); 108 } 109 105 110 if (sscanf(region,"[%d:%d,%d:%d]",&col0,&col1,&row0,&row1) < 4) { 106 psError(PS_ERR_BAD_PARAMETER_NULL, true, 107 _("Specified subsection string, '%s', can not be parsed. Must be in the form '[x1:x2,y1:y2]'."), 108 region); 109 return psRegionSet(NAN,NAN,NAN,NAN); 111 // psError(PS_ERR_BAD_PARAMETER_NULL, true, 112 // ("Specified subsection string, '%s', can not be parsed. Must be in the form '[x1:x2,y1:y2]'."), 113 // region); 114 // return psRegionSet(NAN,NAN,NAN,NAN); 115 return psRegionSet(0,0,0,0); 110 116 } 111 117
Note:
See TracChangeset
for help on using the changeset viewer.
