Removed duplicate assignment
This commit is contained in:
parent
9b04915913
commit
ddb28aeb49
1 changed files with 0 additions and 1 deletions
|
@ -790,7 +790,6 @@ SDL_SendKeyboardText(const char *text)
|
||||||
event.text.type = SDL_TEXTINPUT;
|
event.text.type = SDL_TEXTINPUT;
|
||||||
event.text.windowID = keyboard->focus ? keyboard->focus->id : 0;
|
event.text.windowID = keyboard->focus ? keyboard->focus->id : 0;
|
||||||
SDL_utf8strlcpy(event.text.text, text, SDL_arraysize(event.text.text));
|
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);
|
posted = (SDL_PushEvent(&event) > 0);
|
||||||
}
|
}
|
||||||
return (posted);
|
return (posted);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue