Changeset 27096 for trunk/pswarp/src/pswarpSetMaskBits.c
- Timestamp:
- Feb 25, 2010, 4:26:50 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpSetMaskBits.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpSetMaskBits.c
r26013 r27096 28 28 // this function sets the required single-image mask bits 29 29 if (!pmConfigMaskSetBits (&maskIn, &markIn, config)) { 30 psError ( PS_ERR_UNKNOWN, true, "Unable to define the mask bit values");30 psError (psErrorCodeLast(), false, "Unable to define the mask bit values"); 31 31 return false; 32 32 } … … 64 64 } 65 65 if (!markOut) { 66 psError (PS_ERR_UNKNOWN, true, "Unable to define the MARK bit mask: all bits taken!");66 psError(PSWARP_ERR_CONFIG, true, "Unable to define the MARK bit mask: all bits taken!"); 67 67 return false; 68 68 } … … 71 71 psMetadata *warpRecipe = psMetadataLookupPtr (NULL, config->recipes, PSWARP_RECIPE); 72 72 if (!warpRecipe) { 73 psError(PS PHOT_ERR_CONFIG, false, "missing recipe %s", PSWARP_RECIPE);73 psError(PSWARP_ERR_CONFIG, false, "missing recipe %s", PSWARP_RECIPE); 74 74 return false; 75 75 } … … 85 85 psMetadata *psphotRecipe = psMetadataLookupPtr (NULL, config->recipes, PSPHOT_RECIPE); 86 86 if (!psphotRecipe) { 87 psError(PS PHOT_ERR_CONFIG, false, "missing recipe %s", PSPHOT_RECIPE);87 psError(PSWARP_ERR_CONFIG, false, "missing recipe %s", PSPHOT_RECIPE); 88 88 return false; 89 89 }
Note:
See TracChangeset
for help on using the changeset viewer.
