Skip to content

Commit 9be8c2a

Browse files
cgutmanslouken
authored andcommitted
keyboard: Fix comment regarding implicit calls to SDL_StartTextInput()
It was always done inside SDL_VideoInit(). (cherry picked from commit 92cadaf)
1 parent 51e20f1 commit 9be8c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/SDL_keyboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromName(const char *name);
255255
* On some platforms using this function activates the screen keyboard.
256256
*
257257
* On desktop platforms, SDL_StartTextInput() is implicitly called on SDL
258-
* window creation which will cause events SDL_TextInputEvent and
258+
* video subsystem initialization which will cause SDL_TextInputEvent and
259259
* SDL_TextEditingEvent to begin emitting.
260260
*
261261
* \since This function is available since SDL 2.0.0.

0 commit comments

Comments
 (0)