summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-26 21:53:22 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-26 21:53:22 +0100
commit4aefee616c2671431e91c35560fc298d7df5a44d (patch)
tree3712684deb0e1c8a2b9d3266d78dd67eef81df18 /crawl-ref
parent9008aba73e8e30d149fab760a42aa832d10d6541 (diff)
downloadcrawl-ref-4aefee616c2671431e91c35560fc298d7df5a44d.tar.gz
crawl-ref-4aefee616c2671431e91c35560fc298d7df5a44d.zip
More compile fixes.
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/libdos.cc2
-rw-r--r--crawl-ref/source/libw32c.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/libdos.cc b/crawl-ref/source/libdos.cc
index f20d809fd6..b64bb6ee16 100644
--- a/crawl-ref/source/libdos.cc
+++ b/crawl-ref/source/libdos.cc
@@ -69,7 +69,7 @@ void message_out(int *which_line, int colour, const char *s, int firstcol)
}
cgotoxy(firstcol + crawl_view.msgp.x - 1,
- which_line + crawl_view.msgp.y);
+ (*which_line) + crawl_view.msgp.y);
textcolor(colour);
cprintf("%s", s);
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc
index 18eb36cbac..d7dfea569d 100644
--- a/crawl-ref/source/libw32c.cc
+++ b/crawl-ref/source/libw32c.cc
@@ -629,7 +629,7 @@ void message_out(int *which_line, int colour, const char *s, int firstcol)
}
cgotoxy(firstcol - 1 + crawl_view.msgp.x,
- which_line + crawl_view.msgp.y);
+ (*which_line) + crawl_view.msgp.y);
textcolor(colour);
cprintf("%s", s);