From 53b94b89c7037837eb6bf00ea8b71d9f92963f35 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 21 Jun 2009 21:25:58 +0000 Subject: Apply commits r10013 and 10014 to trunk. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10015 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libw32c.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/libw32c.cc') diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc index ef456090a4..7e55786cdd 100644 --- a/crawl-ref/source/libw32c.cc +++ b/crawl-ref/source/libw32c.cc @@ -129,9 +129,9 @@ static DWORD crawlColorData[16] = void writeChar(char c) { - if ( c == '\t' ) + if (c == '\t') { - for ( int i = 0; i < 8; ++i ) + for (int i = 0; i < 8; ++i) writeChar(' '); return; } @@ -172,7 +172,7 @@ void writeChar(char c) if (chy < 0) chsx = cx; - chy = cy; + chy = cy; chex = cx; // if we're not buffering, flush @@ -182,7 +182,8 @@ void writeChar(char c) // update x position cx += 1; - if (cx >= screensize.X) cx = screensize.X - 1; + if (cx >= screensize.X) + cx = screensize.X - 1; } void enable_smart_cursor(bool cursor) -- cgit v1.2.3-54-g00ecf