Ignore:
Timestamp:
Feb 22, 2007, 4:31:39 PM (13 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added error checks on canvas / display creations
File:
1 edited

Legend:

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

    r1462 r1753  
    4545    /* Create a canvas */
    4646    cv = cucul_create_canvas(8, 2);
     47    if(cv == NULL)
     48    {
     49        printf("Can't create canvas\n");
     50        return -1;
     51    }
     52
    4753
    4854    /* Draw stuff on our canvas */
Note: See TracChangeset for help on using the changeset viewer.