Changeset 3945


Ignore:
Timestamp:
Nov 18, 2009, 5:38:54 PM (11 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fix crash if caca can't create a display (courtesy of Romain Bignon)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/server.c

    r3944 r3945  
    549549    screen_list->cv = caca_create_canvas(0, 0);
    550550    screen_list->dp = caca_create_display(screen_list->cv);
    551     caca_set_display_time(screen_list->dp, screen_list->delay * 1000);
    552 
     551   
    553552    if (!screen_list->dp)
    554553        return -3;
     554   
     555    caca_set_display_time(screen_list->dp, screen_list->delay * 1000);
    555556    caca_set_cursor(screen_list->dp, 1);
    556557
Note: See TracChangeset for help on using the changeset viewer.