Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed duplicate assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 1, 2011
1 parent e07b1b1 commit c6a7abe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/events/SDL_keyboard.c
Expand Up @@ -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);
Expand Down

0 comments on commit c6a7abe

Please sign in to comment.