diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-27 10:50:32 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-27 10:50:32 +0000 |
commit | e3698852a27d5565ba1381bd600776f5080ab9c9 (patch) | |
tree | 5e7b0f17e5b23598b12f4b9c690178085240192b /crawl-ref/source/libw32c.cc | |
parent | b6c2aec77d44d59bd3302c674dba1b533898117c (diff) | |
download | crawl-ref-e3698852a27d5565ba1381bd600776f5080ab9c9.tar.gz crawl-ref-e3698852a27d5565ba1381bd600776f5080ab9c9.zip |
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
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r-- | crawl-ref/source/libw32c.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) |