summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libx11.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/libx11.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/libx11.cc')
-rw-r--r--crawl-ref/source/libx11.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/libx11.cc b/crawl-ref/source/libx11.cc
index 2bc75e3ac6..f01018a6aa 100644
--- a/crawl-ref/source/libx11.cc
+++ b/crawl-ref/source/libx11.cc
@@ -189,7 +189,7 @@ void update_tip_text(const char *tip)
if (is_main_screen)
{
- region_tip->gotoxy(1, 1 + i);
+ region_tip->cgotoxy(1, 1 + i);
region_tip->addstr(this_tip);
region_tip->make_active();
}
@@ -197,7 +197,7 @@ void update_tip_text(const char *tip)
{
ASSERT(i == 0);
textattr(WHITE);
- gotoxy(1, get_number_of_lines() + 1);
+ cgotoxy(1, get_number_of_lines() + 1);
cprintf("%s", this_tip);
clear_to_end_of_line();
}