From ef067b4838cfcd70e574299d5feacf7db430cbb9 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 13 Jan 2004 15:01:22 +0000 Subject: [PATCH] * src/graphics.c: + Fixed a typo preventing Win32 builds. * src/event.c: + Renamed io.c into event.c. * THANKS: + Added Gentoo, NetBSD and FreeBSD porters. --- THANKS | 4 ++++ src/Makefile.am | 2 +- src/{io.c => event.c} | 2 +- src/graphics.c | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) rename src/{io.c => event.c} (99%) diff --git a/THANKS b/THANKS index c5682da..8d4f1ff 100644 --- a/THANKS +++ b/THANKS @@ -1,6 +1,10 @@ $Id$ +Derk-Jan Hartman - Gentoo ebuild file +Gildas Bazin - win32 driver improvements Jan Hubicka - aafire Michele Bini - original SDL plasma Richard Zidlicky - rpm specfile +Thomas Klausner - NetBSD port maintainer +Vincent Tantardini - FreeBSD port maintainer diff --git a/src/Makefile.am b/src/Makefile.am index 3759a92..8008b7a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,7 +8,7 @@ libcaca_a_SOURCES = \ caca.h \ caca_internals.h \ graphics.c \ - io.c \ + event.c \ math.c \ line.c \ box.c \ diff --git a/src/io.c b/src/event.c similarity index 99% rename from src/io.c rename to src/event.c index c5672f6..113ca2a 100644 --- a/src/io.c +++ b/src/event.c @@ -19,7 +19,7 @@ * 02111-1307 USA */ -/** \file io.c +/** \file event.c * \version \$Id$ * \author Sam Hocevar * \brief Event handling diff --git a/src/graphics.c b/src/graphics.c index a0adcf3..70f966e 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -826,7 +826,7 @@ int _caca_init_graphics(void) win32_back = CreateConsoleScreenBuffer(GENERIC_READ | GENERIC_WRITE, 0, NULL, CONSOLE_TEXTMODE_BUFFER, NULL); - if(!win32_back || win328back == INVALID_HANDLE_VALUE) + if(!win32_back || win32_back == INVALID_HANDLE_VALUE) return -1; if(!GetConsoleScreenBufferInfo(win32_hout, &csbi))