Changeset 14522
- Timestamp:
- Aug 15, 2007, 4:45:55 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubArguments.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubArguments.c
r14457 r14522 271 271 } 272 272 } 273 pmSubtractionKernelsType kernelType; // Type of kernel 274 if (strcasecmp(type, "POIS") == 0) { 275 kernelType = PM_SUBTRACTION_KERNEL_POIS; 276 } else if (strcasecmp(type, "ISIS") == 0) { 277 kernelType = PM_SUBTRACTION_KERNEL_ISIS; 278 } else if (strcasecmp(type, "SPAM") == 0) { 279 kernelType = PM_SUBTRACTION_KERNEL_SPAM; 280 } else if (strcasecmp(type, "FRIES") == 0) { 281 kernelType = PM_SUBTRACTION_KERNEL_FRIES; 282 } else if (strcasecmp(type, "GUNK") == 0) { 283 kernelType = PM_SUBTRACTION_KERNEL_GUNK; 284 } else if (strcasecmp(type, "RINGS") == 0) { 285 kernelType = PM_SUBTRACTION_KERNEL_RINGS; 286 } else { 273 pmSubtractionKernelsType kernelType = pmSubtractionKernelsTypeFromString(type); // Type of kernel 274 if (kernelType == PM_SUBTRACTION_KERNEL_NONE) { 287 275 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Unrecognised kernel type: %s", type); 288 276 goto ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.
