summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/libunix.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index d76e3934cf..1da742ee28 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -429,9 +429,6 @@ void message_out(int which_line, int color, const char *s, int firstcol,
else
firstcol--;
- wmove(Message_Window, which_line, firstcol);
- waddstr_with_altcharset(Message_Window, s);
-
if (newline && which_line == crawl_view.msgsz.y - 1)
{
int x, y;
@@ -440,6 +437,9 @@ void message_out(int which_line, int color, const char *s, int firstcol,
wmove(Message_Window, y - 1, x);
}
+ wmove(Message_Window, which_line, firstcol);
+ waddstr_with_altcharset(Message_Window, s);
+
// Fix stdscr cursor to same place as Message_Window cursor. This
// is necessary because when reading input we use stdscr.
{