diff src/SDL_compat.c @ 4753:11b0a6a3eb4d

Changed Start/StopTextInput back to not take any parameters. We call SDL_GetKeyboardFocus internally now.
author dewyatt
date Mon, 12 Jul 2010 14:17:43 -0400
parents f3908cd80b10
children 518d1679d2d0
line wrap: on
line diff
--- a/src/SDL_compat.c	Mon Jul 12 11:33:27 2010 -0400
+++ b/src/SDL_compat.c	Mon Jul 12 14:17:43 2010 -0400
@@ -1740,11 +1740,11 @@
     switch (enable) {
     case 1:
         SDL_enabled_UNICODE = 1;
-        SDL_StartTextInput(SDL_VideoWindow);
+        SDL_StartTextInput();
         break;
     case 0:
         SDL_enabled_UNICODE = 0;
-        SDL_StopTextInput(SDL_VideoWindow);
+        SDL_StopTextInput();
         break;
     }
     return previous;