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_slang.c

    r681 r684  
    469469 */
    470470
    471 void slang_init_driver(caca_t *kk)
     471int slang_install(caca_t *kk)
    472472{
    473473    kk->drv.driver = CACA_DRIVER_SLANG;
     
    481481    kk->drv.handle_resize = slang_handle_resize;
    482482    kk->drv.get_event = slang_get_event;
     483
     484    return 0;
    483485}
    484486
Note: See TracChangeset for help on using the changeset viewer.