diff options
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index b5cd2f3118..fe66dd794a 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -1013,12 +1013,11 @@ void print_overview_screen() } text = "<yellow>"; - snprintf(info, INFO_SIZE, "%s%s%s", you.your_name, title, race_class); - text += info; - int k = get_number_of_cols() - linelength -1; - text += std::string(k, ' '); - snprintf(info, INFO_SIZE, "%s", time_turns); - text += info; + text += you.your_name; + text += title; + text += race_class; + text += std::string(get_number_of_cols() - linelength - 1, ' '); + text += time_turns; text += "</yellow>\n"; cmd_help.add_text(text); |