summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-26 19:18:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-26 19:18:44 +0300
commita854f6b6aa81e7b387bce2293e9c84e0e96dfbd6 (patch)
tree16b6a47b8d94e117abf570ad0268a11ffb833cfd /src/gui
parentcd94be3d8356e713cf5b72c64d22ec5baf5cae4a (diff)
downloadmv-a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6.tar.gz
mv-a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6.tar.bz2
mv-a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6.tar.xz
mv-a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6.zip
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/sdlinput.cpp2
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));