summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-28 17:22:41 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-28 17:22:41 +0000
commitee86ed7bc40c5e93a424f0625ac71be7dda158f6 (patch)
tree5fed90e5997cce57296d35d917795c170a0130d1 /crawl-ref/source/hiscores.cc
parent4ea2f469114182bb39acb1cf1dee0f868e81bce6 (diff)
downloadcrawl-ref-ee86ed7bc40c5e93a424f0625ac71be7dda158f6.tar.gz
crawl-ref-ee86ed7bc40c5e93a424f0625ac71be7dda158f6.zip
[1827171] Don't truncate single-line game summary at 80 characters.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3136 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 85d31b3b4e..3059888a16 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -216,16 +216,9 @@ static void hiscores_print_entry(const scorefile_entry &se,
std::string entry;
// format the entry
if (format == SCORE_TERSE)
- {
entry = hiscores_format_single( se );
- // truncate if we want short format
- if (entry.length() > 80)
- entry = entry.substr(0, 80);
- }
else
- {
entry = hiscores_format_single_long( se, (format == SCORE_VERBOSE) );
- }
entry += EOL;
pf("%s", entry.c_str());