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