Changeset 3928 for libcaca


Ignore:
Timestamp:
Nov 18, 2009, 12:59:08 PM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fix examples/trifiller's color boundaries
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/examples/trifiller.c

    r3926 r3928  
    136136        for(i = 0; i < 16; i ++)
    137137        {
    138             caca_set_color_ansi(tex, (i+1)%0xF, i);
    139             caca_put_str(tex, 0, i, "123456789ABCDEF");
     138            caca_set_color_ansi(tex, (i+1)%0xF, i%0xF);
     139            caca_put_str(tex, 0, i, "0123456789ABCDEF");
    140140        }
    141141    }
Note: See TracChangeset for help on using the changeset viewer.