summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r--crawl-ref/source/stuff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index 463534060f..d7dbcd38e1 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -1054,7 +1054,7 @@ bool yesno( const char *str, bool safe, int safeanswer, bool clear_after,
if (!noprompt)
mpr(prompt.c_str(), MSGCH_PROMPT);
- int tmp = getchm(KC_CONFIRM);
+ int tmp = getchm(KMC_CONFIRM);
if (map && map->find(tmp) != map->end())
tmp = map->find(tmp)->second;
@@ -1155,7 +1155,7 @@ int yesnoquit( const char* str, bool safe, int safeanswer, bool allow_all,
{
mpr(prompt.c_str(), MSGCH_PROMPT);
- int tmp = getchm(KC_CONFIRM);
+ int tmp = getchm(KMC_CONFIRM);
if (tmp == CK_ESCAPE || tmp == CONTROL('G') || tmp == 'q' || tmp == 'Q')
return -1;