Changeset 942


Ignore:
Timestamp:
May 9, 2006, 2:47:28 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Cosmetic fix in test/font.c.
  • Use UTF-8 output in test/text.c instead of ANSI.
Location:
libcaca/trunk/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/font.c

    r858 r942  
    8181#else
    8282    /* This is compile-time optimised with at least -O1 or -Os */
    83     uint32_t const rmask = 0x12345678;
    84     if(*(uint8_t const *)&rmask == 0x12)
     83    uint32_t const tmp = 0x12345678;
     84    if(*(uint8_t const *)&tmp == 0x12)
    8585#endif
    8686        d = cucul_create_dither(32, w, h, 4 * w,
  • libcaca/trunk/test/text.c

    r896 r942  
    4141    cucul_free_buffer(buffer);
    4242
    43     buffer = cucul_export_canvas(cv, "ansi");
     43    buffer = cucul_export_canvas(cv, "utf8");
    4444    fwrite(cucul_get_buffer_data(buffer),
    4545           cucul_get_buffer_size(buffer), 1, stdout);
     
    4848    cucul_rotate(cv);
    4949
    50     buffer = cucul_export_canvas(cv, "ansi");
     50    buffer = cucul_export_canvas(cv, "utf8");
    5151    fwrite(cucul_get_buffer_data(buffer),
    5252           cucul_get_buffer_size(buffer), 1, stdout);
Note: See TracChangeset for help on using the changeset viewer.