summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-24 02:47:20 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-24 02:47:20 +0200
commit12cb4c910304fa9920a03f45ec89109d122d1780 (patch)
treec00d3e6dda0a8ae81bc5b3188d65ea7c4f52750c /crawl-ref/source/format.cc
parent8a8c1eb2f8092e8485ad4d42c1a7eda63cdc9d80 (diff)
downloadcrawl-ref-12cb4c910304fa9920a03f45ec89109d122d1780.tar.gz
crawl-ref-12cb4c910304fa9920a03f45ec89109d122d1780.zip
Drop a lot of unnecessary braces.
The perl one-liner I use for this had a bug where it didn't match "else" at the end of a line (ie, most of the time).
Diffstat (limited to 'crawl-ref/source/format.cc')
-rw-r--r--crawl-ref/source/format.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/format.cc b/crawl-ref/source/format.cc
index f2f4046422..1745e6fe9f 100644
--- a/crawl-ref/source/format.cc
+++ b/crawl-ref/source/format.cc
@@ -201,9 +201,7 @@ void formatted_string::parse_string1(const string &s, formatted_string &fs,
die("Stack underflow in string \"%s\"", s.c_str());
}
else
- {
colour_stack.push_back(get_colour(tagtext));
- }
// fs.cprintf("%d%d", colour_stack.size(), colour_stack.back());
fs.textcolor(colour_stack.back());