summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/command.h2
-rw-r--r--crawl-ref/source/message.cc6
2 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/command.h b/crawl-ref/source/command.h
index 9aab940469..eb5dafbc16 100644
--- a/crawl-ref/source/command.h
+++ b/crawl-ref/source/command.h
@@ -28,7 +28,7 @@ void list_commands(int hotkey = 0, bool do_redraw_screen = false);
int list_wizard_commands(bool do_redraw_screen = false);
#endif
-// XXX: Actually defined in acr.cc; we may want to move this to command.cc.
+// XXX: Actually defined in main.cc; we may want to move this to command.cc.
void process_command(command_type cmd);
#endif
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc
index 4dbff6c4b4..9da82cd6a6 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -678,9 +678,9 @@ static void set_Message_Line(bool force = false)
{
if (!force && Message_Line >= 0)
return;
- Message_Line = Options.delay_message_clear
- ? crawl_view.msgsz.y - 1
- : 0;
+
+ Message_Line = Options.delay_message_clear ? crawl_view.msgsz.y - 1
+ : 0;
}
// Adds a given message to the message history.