Changeset 1752 for libcaca


Ignore:
Timestamp:
Feb 22, 2007, 3:47:32 PM (16 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added error detection to truecolor test
File:
1 edited

Legend:

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

    r1462 r1752  
    3434
    3535    cv = cucul_create_canvas(32, 16);
     36    if(cv == NULL)
     37    {
     38        printf("Failed to create canvas\n");
     39        return 1;
     40    }
     41
    3642    dp = caca_create_display(cv);
     43    if(dp == NULL)
     44    {
     45        printf("Failed to create display\n");
     46        return 1;
     47    }
    3748
    3849    for(y = 0; y < 16; y++)
Note: See TracChangeset for help on using the changeset viewer.