Fixed broken Ctrl and Shift toolbar buttons

This commit is contained in:
pelya
2014-03-23 14:33:43 +02:00
parent f4612e4031
commit 253ccf43e8
3 changed files with 18 additions and 1 deletions
+2
View File
@@ -761,10 +761,12 @@ void VideoDriver_SDL::MainLoop()
bool old_ctrl_pressed = _ctrl_pressed;
#ifndef __ANDROID__
if (_settings_client.gui.touchscreen_mode == TSC_NONE) {
_ctrl_pressed = !!(mod & KMOD_CTRL);
_shift_pressed = !!(mod & KMOD_SHIFT);
}
#endif
/* determine which directional keys are down */
_dirkeys =