From d04f647d2a64423af89b497c4daab8b452e7bf1c Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 20 Mar 2007 16:54:00 +0000 Subject: Tutorial tweaks: * Fixed status display commentary wiping out the status display on curses. * Fixed doubled %% on Unix (a plague on whoever wrote cprintf() in libw32c.cc). * Fixed reference to get_number_of_cols() before curses initialisation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1073 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libw32c.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crawl-ref/source/libw32c.cc') diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc index 0625331013..3032b5602e 100644 --- a/crawl-ref/source/libw32c.cc +++ b/crawl-ref/source/libw32c.cc @@ -653,12 +653,7 @@ static void cprintf_aux(const char *s) char *p = (char *)s; while(*p) { - if (p[0] == '%' && p[1] == '%') - { - p++; - continue; - } - writeChar(*p++); + writeChar(*p++); } // reset buffering -- cgit v1.2.3-54-g00ecf