diff src/video/SDL_video.c @ 3136:962357f325e1 gsoc2009_IME

Further polish API, fix crash in test program.
author Jiang Jiang <gzjjgod@gmail.com>
date Thu, 06 Aug 2009 08:59:53 +0000
parents f4e553ec6a62
children
line wrap: on
line diff
--- a/src/video/SDL_video.c	Thu Aug 06 08:56:48 2009 +0000
+++ b/src/video/SDL_video.c	Thu Aug 06 08:59:53 2009 +0000
@@ -3068,12 +3068,10 @@
 }
 
 void
-SDL_StartTextInput(SDL_WindowID windowID)
+SDL_StartTextInput(void)
 {
-    SDL_Window *window = SDL_GetWindowFromID(windowID);
-
     if (_this->StartTextInput) {
-        _this->StartTextInput(_this, window);
+        _this->StartTextInput(_this);
     }
 }