Ignore:
Timestamp:
Mar 24, 2006, 10:48:20 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Allow the driver initialisation to fail, for instance when $DISPLAY = "".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_conio.c

    r681 r684  
    152152 */
    153153
    154 void conio_init_driver(caca_t *kk)
     154int conio_install(caca_t *kk)
    155155{
    156156    kk->drv.driver = CACA_DRIVER_CONIO;
     
    164164    kk->drv.handle_resize = conio_handle_resize;
    165165    kk->drv.get_event = conio_get_event;
     166
     167    return 0;
    166168}
    167169
Note: See TracChangeset for help on using the changeset viewer.