summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libgui.cc
diff options
context:
space:
mode:
authorIxtli <cg@325i.org>2010-04-01 18:28:45 +0900
committerEnne Walker <ennewalker@users.sourceforge.net>2010-04-24 10:19:47 -0400
commitf491a7dac6eeb074a26303484fbe01d5c660bce0 (patch)
tree7110fe3e814bf4f8b54dba2383a9b57436bc7ed2 /crawl-ref/source/libgui.cc
parentadb9bdd8a87001ff73689b4187581bb077b50df7 (diff)
downloadcrawl-ref-f491a7dac6eeb074a26303484fbe01d5c660bce0.tar.gz
crawl-ref-f491a7dac6eeb074a26303484fbe01d5c660bce0.zip
More refactoring to reflect UIWrapper -> WindowManager change.
Diffstat (limited to 'crawl-ref/source/libgui.cc')
-rw-r--r--crawl-ref/source/libgui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc
index 865f28609a..cef0b7576a 100644
--- a/crawl-ref/source/libgui.cc
+++ b/crawl-ref/source/libgui.cc
@@ -342,7 +342,7 @@ void update_screen()
int kbhit()
{
// Look for the presence of any keyboard events in the queue.
- int count = wm->get_event_count(UI_KEYDOWN);
+ int count = wm->get_event_count(WM_KEYDOWN);
ASSERT(count != -1);
return (count == 1 ? 1 : 0);