summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-input.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/ng-input.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/ng-input.cc')
-rw-r--r--crawl-ref/source/ng-input.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ng-input.cc b/crawl-ref/source/ng-input.cc
index c5ab3055a4..6935a08124 100644
--- a/crawl-ref/source/ng-input.cc
+++ b/crawl-ref/source/ng-input.cc
@@ -18,7 +18,7 @@ extern string init_file_error; // defined in main.cc
void opening_screen(void)
{
string msg =
- "<yellow>Hello, welcome to " CRAWL " " + Version::Long() + "!</yellow>\n"
+ "<yellow>Hello, welcome to " CRAWL " " + string(Version::Long) + "!</yellow>\n"
"<brown>(c) Copyright 1997-2002 Linley Henzell, "
"2002-2013 Crawl DevTeam\n"
"Read the instructions for legal details."