# HG changeset patch # User Sam Lantinga # Date 1150266395 0 # Node ID 153477a6cc31b83583f59b159e0ec98e0adc2fdd # Parent 90bf530ced8e44fc544cbc6094d224ade53dcd72 More compile fixes diff -r 90bf530ced8e -r 153477a6cc31 src/events/SDL_keyboard.c --- 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; diff -r 90bf530ced8e -r 153477a6cc31 src/video/SDL_video.c --- 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]; diff -r 90bf530ced8e -r 153477a6cc31 src/video/SDL_yuv_sw.c --- 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: */