Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

More compile fixes

  • Loading branch information
slouken committed Jun 14, 2006
1 parent a654264 commit 61cea607f4f59d2e31129d4c6beda98f5f0d1892
Showing with 3 additions and 4 deletions.
  1. +1 −1 src/events/SDL_keyboard.c
  2. +0 −3 src/video/SDL_video.c
  3. +2 −0 src/video/SDL_yuv_sw.c
@@ -443,7 +443,7 @@ SDL_GetKeyName(SDLKey key)
{
const char *keyname;

if (key < SDL_tablesize(SDL_keynames)) {
if (key < SDL_arraysize(SDL_keynames)) {
keyname = SDL_keynames[key];
} else {
keyname = NULL;
@@ -1574,9 +1574,6 @@ SDL_VideoQuit(void)
/* 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];
@@ -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_FreeYUV_SW(_THIS, SDL_Overlay * overlay)
SDL_free(swdata);
}
}
#endif /* TODO */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 61cea60

Please sign in to comment.