Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
More compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 14, 2006
1 parent a654264 commit 61cea60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/events/SDL_keyboard.c
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions src/video/SDL_video.c
Expand Up @@ -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];
Expand Down
2 changes: 2 additions & 0 deletions src/video/SDL_yuv_sw.c
Expand Up @@ -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:
Expand Down Expand Up @@ -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.