Skip to content

Commit 3feb476

Browse files
Merge pull request #129 from furious-programming/patch-2
Update sdlevents.inc
2 parents 57795ae + 5116a2e commit 3feb476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/sdlevents.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ type
250250
type_: cuint32; // SDL_TEXTINPUT
251251
timestamp: cuint32;
252252
windowID: cuint32; // The window with keyboard focus, if any
253-
text: array[0..SDL_TEXTINPUTEVENT_TEXT_SIZE] of Char; // The input text
253+
text: array[0..SDL_TEXTINPUTEVENT_TEXT_SIZE - 1] of Char; // The input text
254254
end;
255255

256256
{**

0 commit comments

Comments
 (0)