Ignore:
Timestamp:
May 18, 2006, 8:23:47 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Changed cucul_putchar's prototype so that it accepts a 32-bit unsigned int which shall be used as an UTF-32 character. We do not have any casting problems due to the signedness of chars because all characters were ASCII (ie. <= 0x7f) beforehands.
File:
1 edited

Legend:

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

    r954 r958  
    383383                    cucul_set_canvas_size(cv, width = 80, height);
    384384                for(j = x; j < 80; j++)
    385                     _cucul_putchar32(cv, j, y, (uint32_t)' ');
     385                    cucul_putchar(cv, j, y, ' ');
    386386                x = 80;
    387387                break;
     
    406406
    407407        /* Now paste our character */
    408         _cucul_putchar32(cv, x, y, _cucul_cp437_to_utf32(buffer[i]));
     408        cucul_putchar(cv, x, y, _cucul_cp437_to_utf32(buffer[i]));
    409409        x++;
    410410    }
Note: See TracChangeset for help on using the changeset viewer.