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.
2 parents d3f8657 + dd04abf commit 57795aeCopy full SHA for 57795ae
units/sdlevents.inc
@@ -216,7 +216,7 @@ type
216
type_: cuint32; // SDL_TEXTEDITING
217
timestamp: cuint32;
218
windowID: cuint32; // The window with keyboard focus, if any
219
- text: array[0..SDL_TEXTEDITINGEVENT_TEXT_SIZE] of Char; // The editing text
+ text: array[0..SDL_TEXTEDITINGEVENT_TEXT_SIZE - 1] of Char; // The editing text
220
start: cint32; // The start cursor of selected editing text
221
length: cint32; // The length of selected editing text
222
end;
0 commit comments