Changeset 8232 for trunk/psLib/src/math/psRegion.c
- Timestamp:
- Aug 8, 2006, 1:32:23 PM (20 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
math/psRegion.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src
- Property svn:ignore
-
old new 10 10 libpslib.la.temp 11 11 config.h.in 12 psErrorText.h13 12 *.bb 14 13 *.bbg
-
- Property svn:ignore
-
trunk/psLib/src/math/psRegion.c
r7901 r8232 3 3 #include "psMemory.h" 4 4 #include "psError.h" 5 #include "psErrorText.h" 5 6 6 #include "psRegion.h" 7 7 … … 52 52 if (sscanf(region,"[%d:%d,%d:%d]",&col0,&col1,&row0,&row1) < 4) { 53 53 psError(PS_ERR_BAD_PARAMETER_NULL, true, 54 PS_ERRORTEXT_psImage_SUBSECTION_INVALID,54 _("Specified subsection string, '%s', can not be parsed. Must be in the form '[x1:x2,y1:y2]'."), 55 55 region); 56 56 return psRegionSet(NAN,NAN,NAN,NAN); … … 64 64 if ((col1 > 0) && (col0 > col1)) { 65 65 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 66 PS_ERRORTEXT_psImage_SUBSET_RANGE_MALFORMED,66 _("Specified subset range, [%d:%d,%d:%d], is invalid. Ranges must be incremental."), 67 67 col0,col1,row0,row1); 68 68 return psRegionSet(NAN,NAN,NAN,NAN); … … 71 71 if ((row1 > 0) && (row0 > row1)) { 72 72 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 73 PS_ERRORTEXT_psImage_SUBSET_RANGE_MALFORMED,73 _("Specified subset range, [%d:%d,%d:%d], is invalid. Ranges must be incremental."), 74 74 col0,col1,row0,row1); 75 75 return psRegionSet(NAN,NAN,NAN,NAN);
Note:
See TracChangeset
for help on using the changeset viewer.
