summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-21 00:12:45 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-21 00:12:45 +0100
commitcab063e5e304ab59f2f5604f0c0a83be371e7a3e (patch)
treea77303942b9945a9b687daba84c5e43430a4bed6 /crawl-ref/source/format.cc
parentd2bcb779ddd4339aa77e30d1f6d80a7a98cc6b81 (diff)
downloadcrawl-ref-cab063e5e304ab59f2f5604f0c0a83be371e7a3e.tar.gz
crawl-ref-cab063e5e304ab59f2f5604f0c0a83be371e7a3e.zip
Drop double newlines where they seem to serve no purpose.
Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
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 2862dc91e5..452d3d50e1 100644
--- a/crawl-ref/source/format.cc
+++ b/crawl-ref/source/format.cc
@@ -311,7 +311,6 @@ char &formatted_string::operator [] (size_t idx)
die("Invalid index");
}
-
string formatted_string::tostring(int s, int e) const
{
string st;
@@ -558,7 +557,6 @@ static int _tagged_string_printable_length(const string& s)
return len;
}
-
// Count the length of the tags in the string.
int tagged_string_tag_length(const string& s)
{