summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-06 05:56:50 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-06 05:56:50 +0000
commitbd1d91f4b91afaf8dd80c329c78b775f43382b87 (patch)
tree38c0cfd9f7268aa1eeb200e19996f63bf24f62b9 /crawl-ref/source/chardump.cc
parent7cd64c37c6b36806e99e92e59581447c9b91560a (diff)
downloadcrawl-ref-bd1d91f4b91afaf8dd80c329c78b775f43382b87.tar.gz
crawl-ref-bd1d91f4b91afaf8dd80c329c78b775f43382b87.zip
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
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc30
1 files changed, 15 insertions, 15 deletions
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));