From 32a6373c7a8072bfcb4567417f82f700084b6ab8 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 25 Jan 2008 18:11:54 +0000 Subject: 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 --- crawl-ref/source/cio.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/cio.cc') diff --git a/crawl-ref/source/cio.cc b/crawl-ref/source/cio.cc index fcaaa7adc1..f51b3a49bd 100644 --- a/crawl-ref/source/cio.cc +++ b/crawl-ref/source/cio.cc @@ -167,7 +167,7 @@ int c_getch() #endif } -// Wrapper around gotoxy that can draw a fake cursor for Unix terms where +// Wrapper around cgotoxy that can draw a fake cursor for Unix terms where // cursoring over darkgray or black causes problems. void cursorxy(int x, int y) { @@ -177,9 +177,9 @@ void cursorxy(int x, int y) if (Options.use_fake_cursor) fakecursorxy(x, y); else - gotoxy(x, y, GOTO_DNGN); + cgotoxy(x, y, GOTO_DNGN); #else - gotoxy(x, y, GOTO_DNGN); + cgotoxy(x, y, GOTO_DNGN); #endif } @@ -216,7 +216,7 @@ int wrapcprintf( int wrapcol, const char *s, ... ) run[avail] = c; if ((len -= avail) > 0) - gotoxy(1, y + 1); + cgotoxy(1, y + 1); run += avail; } return (olen); @@ -321,7 +321,7 @@ void line_reader::cursorto(int ncx) { int x = (start_x + ncx - 1) % wrapcol + 1; int y = start_y + (start_x + ncx - 1) / wrapcol; - ::gotoxy(x, y, GOTO_LAST); + ::cgotoxy(x, y, GOTO_LAST); } int line_reader::read_line(bool clear_previous) -- cgit v1.2.3-54-g00ecf