summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-12 17:04:52 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-12 17:04:52 +0000
commit3e749824ba7ecb63858063e6319a2b54e8abcf8c (patch)
tree59806d2d780bddf04355869cddb8aa81fcec25fc /crawl-ref/source/chardump.cc
parent64c54b29c42ca145cfeba4fd47a2800846b45759 (diff)
downloadcrawl-ref-3e749824ba7ecb63858063e6319a2b54e8abcf8c.tar.gz
crawl-ref-3e749824ba7ecb63858063e6319a2b54e8abcf8c.zip
New % overview screen (JPEG).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1026 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index a1c9eb1901..7c80b9067e 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -928,7 +928,11 @@ static void sdump_kills(const std::string &, std::string & text)
static void sdump_overview(const std::string&, std::string& text)
{
- text += formatted_string::parse_string(overview_description_string());
+ std::string overview =
+ formatted_string::parse_string(overview_description_string());
+ trim_string(overview);
+ text += overview;
+ text += "\n\n";
}
static void sdump_mutations(const std::string &, std::string & text)