summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libdos.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/libdos.cc')
-rw-r--r--crawl-ref/source/libdos.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/libdos.cc b/crawl-ref/source/libdos.cc
index ab04e12784..3af36077bc 100644
--- a/crawl-ref/source/libdos.cc
+++ b/crawl-ref/source/libdos.cc
@@ -43,12 +43,12 @@ static void scroll_message_window()
movetext(crawl_view.msgp.x, crawl_view.msgp.y + 1,
get_number_of_cols(), get_number_of_lines(),
crawl_view.msgp.x, crawl_view.msgp.y);
- gotoxy(1, get_number_of_lines());
+ cgotoxy(1, get_number_of_lines());
clreol();
// Cursor also scrolls up so prompts don't look brain-damaged.
if (y == get_number_of_lines())
- gotoxy(x, y - 1);
+ cgotoxy(x, y - 1);
}
void message_out(int which_line, int colour, const char *s, int firstcol,
@@ -57,7 +57,7 @@ void message_out(int which_line, int colour, const char *s, int firstcol,
if (!firstcol)
firstcol = Options.delay_message_clear? 2 : 1;
- gotoxy(firstcol + crawl_view.msgp.x - 1,
+ cgotoxy(firstcol + crawl_view.msgp.x - 1,
which_line + crawl_view.msgp.y);
textcolor(colour);