From b17182f59fdb23979c9dbd910f57b0ec5675c5c9 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 21 Jul 2008 16:15:40 +0000 Subject: Fix for 2022236: HP bar could be blanked out when gaining XP. [Thanks sorear] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6624 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/output.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/output.cc') diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 92963b99ec..9190fd7529 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -25,6 +25,7 @@ #include "abl-show.h" #include "branch.h" +#include "cio.h" #include "describe.h" #include "directn.h" #include "format.h" @@ -959,11 +960,10 @@ void redraw_skill(const std::string &your_name, const std::string &class_name) // Level N Minotaur [of God] textcolor( YELLOW ); cgotoxy(1, 2, GOTO_STAT); - cprintf("Level %d %s", - you.experience_level, - species_name( you.species, you.experience_level ).c_str()); + nowrap_eol_cprintf("Level %d %s", you.experience_level, + species_name(you.species,you.experience_level).c_str()); if (you.religion != GOD_NO_GOD) - cprintf(" of %s", god_name(you.religion).c_str()); + nowrap_eol_cprintf(" of %s", god_name(you.religion).c_str()); clear_to_end_of_line(); textcolor( LIGHTGREY ); -- cgit v1.2.3-54-g00ecf