summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-overview.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-04-14 17:03:03 +0200
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-04-14 17:03:03 +0200
commitf543e09473991d59faf67bde5963693202f7fc0e (patch)
tree6e9558e96b7aac2d9ee3c84dc1d73198637e527d /crawl-ref/source/dgn-overview.cc
parentf4e0f7d7b9462438c53f21ad141caeb03c3bee28 (diff)
downloadcrawl-ref-f543e09473991d59faf67bde5963693202f7fc0e.tar.gz
crawl-ref-f543e09473991d59faf67bde5963693202f7fc0e.zip
Mantis #1839: Treat clearing annotation prompt as "safe".
Lowercase 'y' is anough; also give feedback when clearing annotations.
Diffstat (limited to 'crawl-ref/source/dgn-overview.cc')
-rw-r--r--crawl-ref/source/dgn-overview.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/crawl-ref/source/dgn-overview.cc b/crawl-ref/source/dgn-overview.cc
index e7b620cc39..2773cd64ce 100644
--- a/crawl-ref/source/dgn-overview.cc
+++ b/crawl-ref/source/dgn-overview.cc
@@ -1047,14 +1047,13 @@ void annotate_level()
{
if (!get_level_annotation(li, true).empty())
{
- if (!yesno("Really clear the annotation?", false, 'n'))
+ if (!yesno("Really clear the annotation?", true, 'n'))
return;
- }
- else
- {
- canned_msg(MSG_OK);
+ mpr("Cleared.");
return;
}
+ canned_msg(MSG_OK);
+ return;
}
set_level_annotation(buf, li);