summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-30 06:18:44 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-30 06:18:44 +0000
commitdf02841d369944428130366fd7ca15c4128c7c08 (patch)
treed422d09ba19811cbd8fa1e9d6945bd018eb3f4ab
parentba525b627e249490228e7f0aa17f07c395858a06 (diff)
downloadcrawl-ref-df02841d369944428130366fd7ca15c4128c7c08.tar.gz
crawl-ref-df02841d369944428130366fd7ca15c4128c7c08.zip
Trunk->0.3: 2484, 2486 (note messaging improvements)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2680 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/chardump.cc4
-rw-r--r--crawl-ref/source/notes.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index 6f38a67b65..08cdfd212b 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -559,7 +559,7 @@ static void sdump_notes(dump_params &par)
if ( note_list.size() == 0 || Options.use_notes == false )
return;
- text += "\nNotes\n| Turn |Location | Note\n";
+ text += "\nNotes\nTurn | Place | Note\n";
text += "--------------------------------------------------------------\n";
for ( unsigned i = 0; i < note_list.size(); ++i ) {
text += note_list[i].describe();
@@ -1169,7 +1169,7 @@ static bool write_dump(
void display_notes()
{
Menu scr;
- scr.set_title( new MenuEntry("| Turn |Location | Note"));
+ scr.set_title( new MenuEntry("Turn | Place | Note"));
for ( unsigned int i = 0; i < note_list.size(); ++i )
{
std::string prefix = note_list[i].describe(true, true, false);
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index e92c71ff3d..ef0b5d73b5 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -217,7 +217,7 @@ std::string Note::describe( bool when, bool where, bool what ) const
std::ostringstream result;
if ( when )
- result << "| " << std::setw(5) << turn << " ";
+ result << std::setw(6) << turn << " ";
if ( where )
{