From bd1d91f4b91afaf8dd80c329c78b775f43382b87 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 6 Mar 2007 05:56:50 +0000 Subject: Kill hard tabs. redraw_dexterity now implies redraw_evasion. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@987 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/chardump.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'crawl-ref/source/chardump.cc') diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index 180df83a9c..a1c9eb1901 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -508,13 +508,13 @@ static void dump_stats2( std::string & text, bool calc_unid) static void sdump_notes(const std::string &, std::string& text) { if ( note_list.size() == 0 || Options.use_notes == false ) - return; + return; text += "\nNotes\n| Turn |Location | Note\n"; text += "--------------------------------------------------------------\n"; for ( unsigned i = 0; i < note_list.size(); ++i ) { - text += note_list[i].describe(); - text += "\n"; + text += note_list[i].describe(); + text += "\n"; } text += "\n"; } @@ -864,7 +864,7 @@ static void sdump_spells(const std::string &, std::string & text) text += "You know the following spells:" "\n"; text += "\n"; - text += " Your Spells Type Power Success Level" "\n"; + text += " Your Spells Type Power Success Level" "\n"; for (int j = 0; j < 52; j++) { @@ -879,11 +879,11 @@ static void sdump_spells(const std::string &, std::string & text) spell_line += " - "; spell_line += spell_title( spell ); - if ( spell_line.length() > 24 ) - spell_line = spell_line.substr(0, 24); - - for (int i = spell_line.length(); i < 26; i++) - spell_line += ' '; + if ( spell_line.length() > 24 ) + spell_line = spell_line.substr(0, 24); + + for (int i = spell_line.length(); i < 26; i++) + spell_line += ' '; bool already = false; @@ -892,18 +892,18 @@ static void sdump_spells(const std::string &, std::string & text) if (spell_typematch( spell, spell_type_index[i] )) { spell_line += spell_type_shortname(spell_type_index[i], - already); + already); already = true; } } - for (int i = spell_line.length(); i < 41; ++i ) - spell_line += ' '; + for (int i = spell_line.length(); i < 41; ++i ) + spell_line += ' '; - spell_line += spell_power_to_string(calc_spell_power(spell,true)); + spell_line += spell_power_to_string(calc_spell_power(spell,true)); - for (int i = spell_line.length(); i < 56; ++i ) - spell_line += ' '; + for (int i = spell_line.length(); i < 56; ++i ) + spell_line += ' '; spell_line += failure_rate_to_string(spell_fail(spell)); -- cgit v1.2.3-54-g00ecf