summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 7751761b85..2c61f637c6 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1390,7 +1390,6 @@ static bool _handle_FAQ()
return (false);
}
Menu FAQmenu(MF_SINGLESELECT | MF_ANYPRINTABLE | MF_ALLOW_FORMATTING);
-// FAQmenu.set_more(formatted_string::parse_string("Choose a question!"));
MenuEntry *title = new MenuEntry("Frequently Asked Questions");
title->colour = YELLOW;
FAQmenu.set_title(title);
@@ -1438,8 +1437,8 @@ static bool _handle_FAQ()
std::string answer = getFAQ_Answer(key);
if (answer.empty())
{
- mpr("No answer found in the FAQ! Please submit a bug report!");
- return (false);
+ answer = "No answer found in the FAQ! Please submit a "
+ "bug report!";
}
answer = "Q: " + getFAQ_Question(key) + EOL + "A: " + answer;
linebreak_string2(answer, width - 1);