summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libw32c.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-12 17:02:00 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-12 17:02:00 +0000
commit029b566fae028c0f515636dbf36b79a75fdc6dc8 (patch)
treeb98e05ab32f9fe663315d21acdd5f83e9f03cbc2 /crawl-ref/source/libw32c.cc
parent30f13ccfa490559e6081039ae2fdea2f7e95af0d (diff)
downloadcrawl-ref-029b566fae028c0f515636dbf36b79a75fdc6dc8.tar.gz
crawl-ref-029b566fae028c0f515636dbf36b79a75fdc6dc8.zip
Fixed message window scrolling bug on Windows.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1583 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r--crawl-ref/source/libw32c.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc
index 055471351d..b89e6cef28 100644
--- a/crawl-ref/source/libw32c.cc
+++ b/crawl-ref/source/libw32c.cc
@@ -609,7 +609,7 @@ static void scroll_message_window()
clip_rectangle.Top = crawl_view.msgp.y - 1;
COORD new_origin;
- new_origin.X = crawl_view.msgp.x;
+ new_origin.X = crawl_view.msgp.x - 1;
new_origin.Y = crawl_view.msgp.y - 1;
CHAR_INFO fill;