Skip to content

Commit 57795ae

Browse files
Merge pull request #128 from furious-programming/patch-1
Update sdlevents.inc
2 parents d3f8657 + dd04abf commit 57795ae

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
@@ -216,7 +216,7 @@ type
216216
type_: cuint32; // SDL_TEXTEDITING
217217
timestamp: cuint32;
218218
windowID: cuint32; // The window with keyboard focus, if any
219-
text: array[0..SDL_TEXTEDITINGEVENT_TEXT_SIZE] of Char; // The editing text
219+
text: array[0..SDL_TEXTEDITINGEVENT_TEXT_SIZE - 1] of Char; // The editing text
220220
start: cint32; // The start cursor of selected editing text
221221
length: cint32; // The length of selected editing text
222222
end;

0 commit comments

Comments
 (0)