Removed duplicate assignment

This commit is contained in:
Sam Lantinga
2011-02-28 18:03:14 -08:00
parent 8708e59683
commit 6c05fff576

View File

@@ -790,7 +790,6 @@ SDL_SendKeyboardText(const char *text)
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);