Changeset 885 for libcaca


Ignore:
Timestamp:
Apr 26, 2006, 9:46:58 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Set the transparent colour's RGB values to the default colour's ones.
File:
1 edited

Legend:

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

    r874 r885  
    182182
    183183    if(fg == CUCUL_COLOR_TRANSPARENT)
    184         return 0x0fff;
     184        return ansitab[CUCUL_COLOR_LIGHTGRAY] & 0x0fff;
    185185
    186186    return fg & 0x0fff;
     
    198198
    199199    if(bg == CUCUL_COLOR_TRANSPARENT)
    200         return 0x0fff;
     200        return ansitab[CUCUL_COLOR_BLACK] & 0x0fff;
    201201
    202202    return bg & 0x0fff;
Note: See TracChangeset for help on using the changeset viewer.