Changeset 25001 for trunk/magic/remove/src/Line.c
- Timestamp:
- Aug 5, 2009, 2:58:25 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/Line.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/Line.c
r24382 r25001 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.
