src/events/SDL_keyboard.c
changeset 5414 130cdb16fa93
parent 5262 b530ef003506
child 5535 96594ac5fd1a
--- a/src/events/SDL_keyboard.c	Mon Feb 28 14:47:39 2011 -0800
+++ b/src/events/SDL_keyboard.c	Mon Feb 28 18:03:14 2011 -0800
@@ -790,7 +790,6 @@
         event.text.type = SDL_TEXTINPUT;
         event.text.windowID = keyboard->focus ? keyboard->focus->id : 0;
         SDL_utf8strlcpy(event.text.text, text, SDL_arraysize(event.text.text));
-        event.text.windowID = keyboard->focus ? keyboard->focus->id : 0;
         posted = (SDL_PushEvent(&event) > 0);
     }
     return (posted);