summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cio.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-05 16:09:36 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-05 16:09:36 +0000
commit239ee7d1040f90fbdcad52e7f41017574df5a865 (patch)
tree47c6a682f16249185a848016b955a765ea402906 /crawl-ref/source/cio.cc
parent542219cbf26c0e4d3dfec1548bd33870763d4d46 (diff)
downloadcrawl-ref-239ee7d1040f90fbdcad52e7f41017574df5a865.tar.gz
crawl-ref-239ee7d1040f90fbdcad52e7f41017574df5a865.zip
Minor typesafety fix.
Added description for '!' and '@' to targeting help. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7137 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cio.cc')
-rw-r--r--crawl-ref/source/cio.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/cio.cc b/crawl-ref/source/cio.cc
index fe4bbf23ac..dd21bf6caa 100644
--- a/crawl-ref/source/cio.cc
+++ b/crawl-ref/source/cio.cc
@@ -27,9 +27,9 @@ static keycode_type _numpad2vi(keycode_type key)
}
#endif
-int unmangle_direction_keys(int keyin, int km, bool fake_ctrl, bool fake_shift)
+int unmangle_direction_keys(int keyin, KeymapContext keymap,
+ bool fake_ctrl, bool fake_shift)
{
- const KeymapContext keymap = static_cast<KeymapContext>(km);
#ifdef UNIX
// Kludging running and opening as two character sequences
// for Unix systems. This is an easy way out... all the