Browse Source

Fix author and email for sdl driver

pull/4/head
Alex Foulon alxf 9 years ago
parent
commit
25372e7f04
3 changed files with 6 additions and 5 deletions
  1. +2
    -1
      AUTHORS
  2. +1
    -1
      caca/caca.c
  3. +3
    -3
      caca/driver/sdl.c

+ 2
- 1
AUTHORS View File

@@ -28,7 +28,8 @@ Nicolas Vion <nico@picapo.net>
Adrien Grand <jpountz@dinauz.org>
- Java bindings

Alex Foulon <alxf@lavabit.com>
Alex Foulon <alxf@vmail.me>
- Python bindings
- SDL driver

*/

+ 1
- 1
caca/caca.c View File

@@ -329,7 +329,7 @@ static int caca_install_driver(caca_display_t *dp, char const *driver)
dp->events.autorepeat_ticks = 0;
dp->events.last_key_event.type = CACA_EVENT_NONE;
#endif
#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) || defined(USE_GL)
#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) || defined(USE_GL) || defined(USE_SDL)
dp->events.queue = 0;
#endif



+ 3
- 3
caca/driver/sdl.c View File

@@ -1,7 +1,7 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
* 2013 Alex Foulon <alxf@lavabit.com>
* Copyright (c) 2002-2015 Sam Hocevar <sam@hocevar.net>
* 2013-2015 Alex Foulon <alxf@vmail.me>
* All Rights Reserved
*
* This library is free software. It comes without any warranty, to
@@ -461,7 +461,7 @@ int sdl_install(caca_display_t *dp)
if(!getenv("DISPLAY") || !*(getenv("DISPLAY")))
return -1;
#endif
dp->drv.id = CACA_DRIVER_SDL;
dp->drv.driver = "sdl";



Loading…
Cancel
Save