diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-03-12 13:20:39 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-03-14 11:46:11 +0100 |
commit | b8bbd9de2837c234eb04060d8a9959f3cefc5a42 (patch) | |
tree | d45d381efba37dd5e212b1cb5cd1eb43bdf76485 /crawl-ref/source/arena.cc | |
parent | f7e1f1543326712ce469c401864959dc745e358f (diff) | |
download | crawl-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/arena.cc')
-rw-r--r-- | crawl-ref/source/arena.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc index ea6561ef43..1c2b3309ba 100644 --- a/crawl-ref/source/arena.cc +++ b/crawl-ref/source/arena.cc @@ -441,7 +441,7 @@ namespace arena cgotoxy(1, line++, GOTO_STAT); textcolor(WHITE); - center_print(crawl_view.hudsz.x, "Crawl " + Version::Long()); + center_print(crawl_view.hudsz.x, string("Crawl ") + Version::Long); line++; cgotoxy(1, line++, GOTO_STAT); |