Ignore:
Timestamp:
Apr 18, 2006, 2:59:07 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
File:
1 edited

Legend:

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

    r777 r810  
    105105    char prefix[sizeof(INIT_PREFIX)];
    106106
    107     cucul_t *qq;
     107    cucul_canvas_t *canvas;
    108108    cucul_buffer_t *buffer;
    109109    unsigned long int buflen;
     
    185185    }
    186186
    187     server->qq = NULL;
     187    server->canvas = NULL;
    188188    server->buffer = NULL;
    189189
     
    224224
    225225        /* Free the previous canvas, if any */
    226         if(server->qq)
    227             cucul_free(server->qq);
    228 
    229         server->qq = cucul_load(buf, size);
    230 
    231         if(!server->qq)
     226        if(server->canvas)
     227            cucul_free(server->canvas);
     228
     229        server->canvas = cucul_load(buf, size);
     230
     231        if(!server->canvas)
    232232            continue; /* Load error */
    233233
     
    241241        /* Get ANSI representation of the image and skip the end-of buffer
    242242         * linefeed ("\r\n\0", 3 bytes) */
    243         server->buffer = cucul_create_export(server->qq, "ansi");
     243        server->buffer = cucul_create_export(server->canvas, "ansi");
    244244        server->buflen -= 3;
    245245
Note: See TracChangeset for help on using the changeset viewer.