summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-27 02:02:11 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-27 02:05:33 +0200
commitf89664063fecf7c61fac985f30f8017c7befbe87 (patch)
tree834c9407ff2dcf24fcb8157e06a90d31cf8f30f1 /crawl-ref/source/libutil.cc
parent7b3a03ec9f0c46ba1afd56a307ad9e43769488eb (diff)
downloadcrawl-ref-f89664063fecf7c61fac985f30f8017c7befbe87.tar.gz
crawl-ref-f89664063fecf7c61fac985f30f8017c7befbe87.zip
Fix <console> logic being reversed.
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r--crawl-ref/source/libutil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index d57f491e0c..4565594b49 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -913,7 +913,7 @@ std::string untag_tiles_console(std::string s)
size_t q = s.find("</console>", p);
if (q == std::string::npos)
q = s.length();
- if (is_tiles())
+ if (!is_tiles())
{
s.erase(q, 10);
s.erase(p, 9);