summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/overmap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/overmap.cc')
-rw-r--r--crawl-ref/source/overmap.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/overmap.cc b/crawl-ref/source/overmap.cc
index 158590d297..580c7b9426 100644
--- a/crawl-ref/source/overmap.cc
+++ b/crawl-ref/source/overmap.cc
@@ -631,7 +631,7 @@ void annotate_level()
li = li2;
else if (li2 != level_id::current())
{
- if (yesno("Annotate level on other end of current stairs?"))
+ if (yesno("Annotate level on other end of current stairs?", true, 'n'))
li = li2;
}
@@ -644,7 +644,8 @@ void annotate_level()
mpr( "Set level annotation to what? ", MSGCH_PROMPT );
char buf[77];
- cancelable_get_line( buf, sizeof(buf) );
+ if (cancelable_get_line( buf, sizeof(buf) ))
+ return;
if (strlen(buf) == 0)
{