summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libdos.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-25 18:11:54 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-25 18:11:54 +0000
commit32a6373c7a8072bfcb4567417f82f700084b6ab8 (patch)
tree248900b93f0f79c36123dc92364ccf9b0db3bcee /crawl-ref/source/libdos.cc
parent0136740f19467e681f934718d109748458fa49c6 (diff)
downloadcrawl-ref-32a6373c7a8072bfcb4567417f82f700084b6ab8.tar.gz
crawl-ref-32a6373c7a8072bfcb4567417f82f700084b6ab8.zip
Fix collision between gotoxy(int,int,int) and DOS djgpp gotoxy().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3337 c06c8d41-db1a-0410-9941-cceddc491573
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);