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