summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-03-12 13:20:39 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-03-14 11:46:11 +0100
commitb8bbd9de2837c234eb04060d8a9959f3cefc5a42 (patch)
treed45d381efba37dd5e212b1cb5cd1eb43bdf76485 /crawl-ref/source/chardump.cc
parentf7e1f1543326712ce469c401864959dc745e358f (diff)
downloadcrawl-ref-b8bbd9de2837c234eb04060d8a9959f3cefc5a42.tar.gz
crawl-ref-b8bbd9de2837c234eb04060d8a9959f3cefc5a42.zip
Simplify handling of version info.
They're static strings, there's no point in having functions just to malloc and pass them around.
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index e8b554ca43..3638747156 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -197,7 +197,7 @@ static void _sdump_header(dump_params &par)
else
type += " DCSS";
- par.text += " " + type + " version " + Version::Long();
+ par.text += " " + type + " version " + Version::Long;
#ifdef USE_TILE_LOCAL
par.text += " (tiles)";
#elif defined(USE_TILE_WEB)