diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-01-19 17:18:36 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-01-20 15:50:58 +0100 |
commit | 7be5cb3070d0fd20fba412742e6354a8c96be838 (patch) | |
tree | 54cb16cd007e271ada2cc28d3ec2e83257537348 /crawl-ref/source/libgui.cc | |
parent | 895ea411bbe873a6654749a248027f7c5384e3b8 (diff) | |
download | crawl-ref-7be5cb3070d0fd20fba412742e6354a8c96be838.tar.gz crawl-ref-7be5cb3070d0fd20fba412742e6354a8c96be838.zip |
Rename WM_* to WME_*, because Windows.
It's a bad idea to reuse the names of one of core win32 concepts for
something similar but distinct.
Diffstat (limited to 'crawl-ref/source/libgui.cc')
-rw-r--r-- | crawl-ref/source/libgui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc index 348003e628..728284aa51 100644 --- a/crawl-ref/source/libgui.cc +++ b/crawl-ref/source/libgui.cc @@ -195,7 +195,7 @@ void update_screen() bool kbhit() { // Look for the presence of any keyboard events in the queue. - int count = wm->get_event_count(WM_KEYDOWN); + int count = wm->get_event_count(WME_KEYDOWN); return (count > 0); } |