Changeset 706 for libcaca/trunk/src


Ignore:
Timestamp:
Mar 28, 2006, 12:16:58 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Changed the 2nd argument of cucul_create_export to a string. This way we can add new exporters without changing the API.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaserver.c

    r703 r706  
    196196        /* Get ANSI representation of the image and skip the end-of buffer
    197197         * linefeed ("\r\n\0", 3 bytes) */
    198         server->ex = cucul_create_export(qq, CUCUL_FORMAT_ANSI);
     198        server->ex = cucul_create_export(qq, "ansi");
    199199        server->ex->size -= 3;
    200200
Note: See TracChangeset for help on using the changeset viewer.