Changeset 21508 for trunk/Ohana/src/imregister/imphot/modify.c
- Timestamp:
- Feb 16, 2009, 11:33:52 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/imregister/imphot/modify.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/imregister/imphot/modify.c
r7080 r21508 13 13 if (options.modify) { 14 14 if (!strcasecmp (options.ModifyEntry, "and")) { 15 image[i]. code&= atoi (options.ModifyValue);15 image[i].flags &= atoi (options.ModifyValue); 16 16 } 17 17 if (!strcasecmp (options.ModifyEntry, "or")) { 18 image[i]. code|= atoi (options.ModifyValue);18 image[i].flags |= atoi (options.ModifyValue); 19 19 } 20 20 if (!strcasecmp (options.ModifyEntry, "xor")) { 21 image[i]. code^= atoi (options.ModifyValue);21 image[i].flags ^= atoi (options.ModifyValue); 22 22 } 23 23 if (!strcasecmp (options.ModifyEntry, "=")) { 24 image[i]. code= atoi (options.ModifyValue);24 image[i].flags = atoi (options.ModifyValue); 25 25 } 26 26 }
Note:
See TracChangeset
for help on using the changeset viewer.
