Ignore:
Timestamp:
Oct 31, 2008, 7:56:31 PM (11 years ago)
Author:
bsittler
Message:

now truecolor works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver/win32.c

    r3167 r3168  
    206206    {
    207207        uint32_t ch = *cvchars++;
    208         uint8_t fg = caca_attr_to_ansi_fg(*cvattrs);
    209         uint8_t bg = caca_attr_to_ansi_bg(*cvattrs);
     208        uint16_t bgfg = caca_attr_to_ansi(*cvattrs);
     209        uint8_t fg = bgfg & 0xf;
     210        uint8_t bg = bgfg >> 4;
    210211
    211212#if 0
Note: See TracChangeset for help on using the changeset viewer.