diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-08 17:52:24 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-08 17:52:24 +0000 |
commit | 3123b0daa3b86ecc112d0cca1be070bb0e314932 (patch) | |
tree | 91dad2161a4c0b026958ac9b73eab552ce740ddb | |
parent | 3ffe2a238be5d62381f88fe243551464f5581924 (diff) | |
download | crawl-ref-3123b0daa3b86ecc112d0cca1be070bb0e314932.tar.gz crawl-ref-3123b0daa3b86ecc112d0cca1be070bb0e314932.zip |
Handle tabs under Windows for branch.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2820 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/libw32c.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc index 81279dd7b3..e3dac41763 100644 --- a/crawl-ref/source/libw32c.cc +++ b/crawl-ref/source/libw32c.cc @@ -130,6 +130,12 @@ static DWORD crawlColorData[16] = void writeChar(char c) { + if ( c == '\t' ) + { + for ( int i = 0; i < 8; ++i ) + writeChar(' '); + return; + } bool noop = true; PCHAR_INFO pci; |