changeset 1679:153477a6cc31 SDL-1.3

More compile fixes
author Sam Lantinga <slouken@libsdl.org>
date Wed, 14 Jun 2006 06:26:35 +0000
parents 90bf530ced8e
children 9488fca10677
files src/events/SDL_keyboard.c src/video/SDL_video.c src/video/SDL_yuv_sw.c
diffstat 3 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c	Wed Jun 14 06:14:26 2006 +0000
+++ b/src/events/SDL_keyboard.c	Wed Jun 14 06:26:35 2006 +0000
@@ -443,7 +443,7 @@
 {
     const char *keyname;
 
-    if (key < SDL_tablesize(SDL_keynames)) {
+    if (key < SDL_arraysize(SDL_keynames)) {
         keyname = SDL_keynames[key];
     } else {
         keyname = NULL;
--- a/src/video/SDL_video.c	Wed Jun 14 06:14:26 2006 +0000
+++ b/src/video/SDL_video.c	Wed Jun 14 06:26:35 2006 +0000
@@ -1574,9 +1574,6 @@
     /* Halt event processing before doing anything else */
     SDL_StopEventLoop();
 
-    /* Clean up allocated window manager items */
-    SDL_CursorQuit();
-
     /* Clean up the system video */
     for (i = _this->num_displays; i--;) {
         SDL_VideoDisplay *display = &_this->displays[i];
--- a/src/video/SDL_yuv_sw.c	Wed Jun 14 06:14:26 2006 +0000
+++ b/src/video/SDL_yuv_sw.c	Wed Jun 14 06:26:35 2006 +0000
@@ -21,6 +21,7 @@
 */
 #include "SDL_config.h"
 
+#if 0 /* TODO */
 /* This is the software implementation of the YUV video overlay support */
 
 /* This code was derived from code carrying the following copyright notices:
@@ -1297,5 +1298,6 @@
         SDL_free(swdata);
     }
 }
+#endif /* TODO */
 
 /* vi: set ts=4 sw=4 expandtab: */