Skip to content

Commit 5116a2e

Browse files
author
furious programming
authored
Update sdlevents.inc
Another bad number of characters fixed.
1 parent d3f8657 commit 5116a2e

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)