Ignore:
Timestamp:
Mar 24, 2006, 10:48:20 AM (15 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_network.c

    r681 r684  
    551551 */
    552552
    553 void network_init_driver(caca_t *kk)
     553int network_install(caca_t *kk)
    554554{
    555555    kk->drv.driver = CACA_DRIVER_NETWORK;
     
    563563    kk->drv.handle_resize = network_handle_resize;
    564564    kk->drv.get_event = network_get_event;
     565
     566    return 0;
    565567}
    566568
Note: See TracChangeset for help on using the changeset viewer.