From e3698852a27d5565ba1381bd600776f5080ab9c9 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 27 Jul 2007 10:50:32 +0000 Subject: Full fix for unholy Windows crasher bug. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1940 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libw32c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/libw32c.cc') diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc index 7d670e25e1..c7d22928a0 100644 --- a/crawl-ref/source/libw32c.cc +++ b/crawl-ref/source/libw32c.cc @@ -175,7 +175,7 @@ void writeChar(char c) // update x position cx += 1; - if (cx >= screensize.X) cx = screensize.X; + if (cx >= screensize.X) cx = screensize.X - 1; } void enable_smart_cursor(bool cursor) -- cgit v1.2.3-54-g00ecf