[colobot] 271/390: Whoops, the file didn't save
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch upstream/latest
in repository colobot.
commit 8f78dc81e7587d09a6099f94aa37557bb08141ad
Author: krzys-h <krzys_h at interia.pl>
Date: Wed Mar 18 21:12:49 2015 +0100
Whoops, the file didn't save
---
src/app/app.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/app/app.cpp b/src/app/app.cpp
index 8b0e915..b6fc6ed 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -1045,6 +1045,8 @@ Event CApplication::ProcessSystemEvent()
event.key.unicode = m_private->currentEvent.key.keysym.unicode;
event.kmodState = m_private->currentEvent.key.keysym.mod;
+ // Some keyboards return numerical enter keycode instead of normal enter
+ // See issue #427 for details
if(event.key.key == KEY(KP_ENTER))
event.key.key = KEY(RETURN);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list