diff options
author | erihel <erihel@gmail.com> | 2013-04-18 21:02:25 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2013-04-18 21:02:25 +0200 |
commit | af24aba899551cce7c4b4d3f3dfe0f31ecf0918d (patch) | |
tree | cb3a006ad8ec205e2bcb8f5b6b35e2fad0d8d26b /src/app/app.cpp | |
parent | 6ea0031d83db660946084a28dcf7d48eb3644a6d (diff) | |
download | colobot-af24aba899551cce7c4b4d3f3dfe0f31ecf0918d.tar.gz colobot-af24aba899551cce7c4b4d3f3dfe0f31ecf0918d.tar.bz2 colobot-af24aba899551cce7c4b4d3f3dfe0f31ecf0918d.zip |
* Key repeating in edit fields
Diffstat (limited to 'src/app/app.cpp')
-rw-r--r-- | src/app/app.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp index 3801f95..6231eb6 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -449,6 +449,7 @@ bool CApplication::Create() // Enable translating key codes of key press events to unicode chars SDL_EnableUNICODE(1); + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL); // Don't generate joystick events SDL_JoystickEventState(SDL_IGNORE); |