We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f8657 commit 5116a2eCopy full SHA for 5116a2e
units/sdlevents.inc
@@ -250,7 +250,7 @@ type
250
type_: cuint32; // SDL_TEXTINPUT
251
timestamp: cuint32;
252
windowID: cuint32; // The window with keyboard focus, if any
253
- text: array[0..SDL_TEXTINPUTEVENT_TEXT_SIZE] of Char; // The input text
+ text: array[0..SDL_TEXTINPUTEVENT_TEXT_SIZE - 1] of Char; // The input text
254
end;
255
256
{**
0 commit comments