From 3123b0daa3b86ecc112d0cca1be070bb0e314932 Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 8 Nov 2007 17:52:24 +0000 Subject: 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 --- crawl-ref/source/libw32c.cc | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- cgit v1.2.3-54-g00ecf