Changeset 1091


Ignore:
Timestamp:
Sep 23, 2006, 3:18:49 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fixed chcul_getchar's error behaviour.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/canvas.c

    r1079 r1091  
    9696{
    9797    if(x < 0 || x >= (int)cv->width || y < 0 || y >= (int)cv->height)
    98         return 0;
     98        return (unsigned char)' ';
    9999
    100100    return (unsigned long int)cv->chars[x + y * cv->width];
Note: See TracChangeset for help on using the changeset viewer.