diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-20 16:54:00 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-20 16:54:00 +0000 |
commit | d04f647d2a64423af89b497c4daab8b452e7bf1c (patch) | |
tree | ef6202b2386fdcacdd4a16015ad2c383815c8ff2 /crawl-ref/source/libw32c.cc | |
parent | 3548833cfbab7a46fe339542183fa65f276ea167 (diff) | |
download | crawl-ref-d04f647d2a64423af89b497c4daab8b452e7bf1c.tar.gz crawl-ref-d04f647d2a64423af89b497c4daab8b452e7bf1c.zip |
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
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r-- | crawl-ref/source/libw32c.cc | 7 |
1 files changed, 1 insertions, 6 deletions
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 |