summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libgui.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-29 02:50:18 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-29 02:50:18 +0000
commite75f4e49b8d85f37cf31341a2053642f9afe4808 (patch)
tree51c0d1e43cf2efaee594729b94b6e3fdf951560e /crawl-ref/source/libgui.cc
parentf3c162efdac44483e3e9155aa6d2496bac79aa30 (diff)
downloadcrawl-ref-e75f4e49b8d85f37cf31341a2053642f9afe4808.tar.gz
crawl-ref-e75f4e49b8d85f37cf31341a2053642f9afe4808.zip
[2029802] Fixing numpad issues for tiles. Theoretically, this change should remove the need for getch() vs. getch_ck() by handling key translation through macro context.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6712 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libgui.cc')
-rw-r--r--crawl-ref/source/libgui.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc
index 0d6d2b2b8e..d0e3414578 100644
--- a/crawl-ref/source/libgui.cc
+++ b/crawl-ref/source/libgui.cc
@@ -310,14 +310,14 @@ void window(int x1, int y1, int x2, int y2)
{
}
-int getch()
+int getch_ck()
{
- return (tiles.getch());
+ return (tiles.getch_ck());
}
-int getch_ck()
+int getch()
{
- return (tiles.getch_ck());
+ return getch_ck();
}
void clrscr()