summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-06-12 20:33:29 +0000
committerGlenn Rice <glennricster@gmail.com>2010-06-12 20:33:29 +0000
commit193677272528b3ebcf30afd2aca6e4dec6a9f7db (patch)
tree0749f2af248ceaffc28ca42d55d9f34e3c0c574d /Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp
parent5fe57452afeb787b43902ba64c36f650da94364c (diff)
Linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5667 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp')
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp
index 5ff85adf32..a2396ae9ea 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp
@@ -102,7 +102,7 @@ Keyboard::Key::Key(Display* const display, KeyCode keycode)
// Convert to upper case for the keyname
if (keysym >= 97 && keysym <= 122)
- keysym = keysym - 32;
+ keysym -= 32;
// 0x0110ffff is the top of the unicode character range according to keysymdef.h
// although it is probably more than we need.