Ignore:
Timestamp:
Apr 18, 2006, 6:50:56 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Changed the cucul_dither_bitmap behaviour so that the 4 coordinates are now x/y/width/height instead of x1/y1/x2/y2. Avoids unnecessary +1/-1 computations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/img2irc.c

    r814 r816  
    5555    cucul_set_canvas_size(cv, cols, lines);
    5656    cucul_clear_canvas(cv, CUCUL_COLOR_TRANSPARENT);
    57     cucul_dither_bitmap(cv, 0, 0, cols - 1, lines - 1, i->dither, i->pixels);
     57    cucul_dither_bitmap(cv, 0, 0, cols, lines, i->dither, i->pixels);
    5858
    5959    unload_image(i);
Note: See TracChangeset for help on using the changeset viewer.