index 11f52108333395c3dc19a2279b67b93add82dda3..145f5c79534d287d33f6ecaeeda8106fae03a9c8 100644 (file)
-(* Copyright (C) DooM 2D:Forever Developers
+(* Copyright (C) Doom 2D: Forever Developers
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
//SDL_Quit();
result := true;
fuiWinActive := fuiWinActive;
+ SDL_StartTextInput();
end;
FillChar(ev, sizeof(ev), 0);
while (SDL_PollEvent(@ev) > 0) do
begin
- if fuiOnSDLEvent(ev) then result := true;
+ fuiOnSDLEvent(ev);
//if (ev.type_ = SDL_QUITEV) then exit;
end;
+ if fuiQuitReceived then result := true;
end;