Changeset 5137 for trunk/psLib/src/types
- Timestamp:
- Sep 26, 2005, 12:35:54 PM (21 years ago)
- Location:
- trunk/psLib/src/types
- Files:
-
- 2 edited
-
psPixels.c (modified) (3 diffs)
-
psPixels.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psPixels.c
r5114 r5137 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-09-2 4 00:17:44$9 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-09-26 22:35:53 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 345 345 return false; 346 346 } 347 if(position < 0) 347 if(position < 0) { 348 348 position += pixels->n; 349 } 349 350 if(position < 0) { 350 351 psError(PS_ERR_BAD_PARAMETER_SIZE, true, "Invalid position. Negative number too large\n"); … … 382 383 return out; 383 384 } 384 if (position < 0) 385 if (position < 0) { 385 386 position += pixels->n; 387 } 386 388 if (position < 0) { 387 389 psError(PS_ERR_BAD_PARAMETER_SIZE, true, "Invalid position. Negative number too large\n"); -
trunk/psLib/src/types/psPixels.h
r5114 r5137 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-09-2 4 00:17:44$9 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-09-26 22:35:53 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
Note:
See TracChangeset
for help on using the changeset viewer.
