Removed duplicate assignment
authorSam Lantinga <slouken@libsdl.org>
Mon, 28 Feb 2011 18:03:14 -0800
changeset 5414 130cdb16fa93
parent 5413 64c0e474c459
child 5415 62712ceb7a48
Removed duplicate assignment
src/events/SDL_keyboard.c
--- 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);