IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 7, 2009, 12:45:24 PM (17 years ago)
Author:
eugene
Message:

update from mainline

Location:
branches/eam_branches/20090715
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715

  • branches/eam_branches/20090715/magic/remove/src/Line.c

    r24382 r25022  
    444444                if (y >= 0 && y < numRows)
    445445                {
    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);
    451447                }
    452448            }
     
    494490                if (x >=0 && x < numCols)
    495491                {
    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);
    501493                }
    502494            }
Note: See TracChangeset for help on using the changeset viewer.