summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-08-04 08:59:04 -0400
committerNeil Moore <neil@s-z.org>2014-08-04 08:59:04 -0400
commit391f62c37dfe5680563351e53073856140f388d3 (patch)
treedd87372562b7968a339b442c7e45f5c6dc3112b5 /crawl-ref/source/stash.cc
parent3b2dec9df94af25ff72a5c7d827949bfc2c13c44 (diff)
downloadcrawl-ref-391f62c37dfe5680563351e53073856140f388d3.tar.gz
crawl-ref-391f62c37dfe5680563351e53073856140f388d3.zip
Brace and unbrace.
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index 71be74da83..0d49fa15c7 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -486,13 +486,9 @@ void StashMenu::draw_title()
int StashMenu::title_height() const
{
if (title)
- {
return 1 + (create_title_string().width() - 1) / get_number_of_cols();
- }
else
- {
return 0;
- }
}
formatted_string StashMenu::create_title_string(bool wrap) const