Changeset 25051 for branches/czw_branch/cleanup/magic/remove/src/Line.c
- Timestamp:
- Aug 11, 2009, 3:54:00 PM (17 years ago)
- Location:
- branches/czw_branch/cleanup
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
magic/remove/src/Line.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/cleanup
- Property svn:mergeinfo changed
/trunk merged: 24940-24950,24953-24971,24973-24977,24986-24989,24993-25017,25019,25021,25023-25024,25026,25029-25031,25036-25049
- Property svn:mergeinfo changed
-
branches/czw_branch/cleanup/magic/remove/src/Line.c
r24382 r25051 444 444 if (y >= 0 && y < numRows) 445 445 { 446 pixel = psAlloc (sizeof(PixelPos)); 447 pixel->x = (unsigned int) x; 448 pixel->y = (unsigned int) y; 449 psArrayAdd (pixels, 1024, pixel); 450 psFree (pixel); 446 psImageSet(pixels, x, y, 1); 451 447 } 452 448 } … … 494 490 if (x >=0 && x < numCols) 495 491 { 496 pixel = psAlloc (sizeof(PixelPos)); 497 pixel->x = (unsigned int) x; 498 pixel->y = (unsigned int) y; 499 psArrayAdd (pixels, 1024, pixel); 500 psFree (pixel); 492 psImageSet(pixels, x, y, 1); 501 493 } 502 494 }
Note:
See TracChangeset
for help on using the changeset viewer.
