diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-26 19:18:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-26 19:18:44 +0300 |
commit | a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6 (patch) | |
tree | 16b6a47b8d94e117abf570ad0268a11ffb833cfd /src/gui | |
parent | cd94be3d8356e713cf5b72c64d22ec5baf5cae4a (diff) | |
download | manaplus-a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6.tar.gz manaplus-a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6.tar.bz2 manaplus-a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6.tar.xz manaplus-a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6.zip |
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/sdlinput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index 86f2a1b37..ead88bf6a 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -367,7 +367,7 @@ void SDLInput::simulateKey(const int guiKey, keyInput.setType(KeyEventType::PRESSED); #ifdef USE_SDL2 char str[2]; - str[0] = guiKey; + str[0] = CAST_S8(guiKey); str[1] = 0; keyInput.setKey(Key(KeyValue::TEXTINPUT)); |