summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-26 12:37:25 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-26 12:37:25 +0000
commit6037fb313cc4b06ce5ce0d100631ac72fa857552 (patch)
tree09ad907644fb950845390f7f539b8b4f9f56d7ad /crawl-ref/source/menu.cc
parent24936f8280fcee3d0503c66d9d1e117c3d279d6f (diff)
downloadcrawl-ref-6037fb313cc4b06ce5ce0d100631ac72fa857552.tar.gz
crawl-ref-6037fb313cc4b06ce5ce0d100631ac72fa857552.zip
Changed Nemelex description (David.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1933 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.cc')
-rw-r--r--crawl-ref/source/menu.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc
index 539d9bad17..1af550ccfe 100644
--- a/crawl-ref/source/menu.cc
+++ b/crawl-ref/source/menu.cc
@@ -1259,6 +1259,13 @@ int linebreak_string2( std::string& s, int maxcol )
return breakcount;
}
+std::string get_linebreak_string(const std::string& s, int maxcol)
+{
+ std::string r = s;
+ linebreak_string2(r, maxcol );
+ return r;
+}
+
// takes a (possibly tagged) string, breaks it into lines and
// prints it into the given message channel
void print_formatted_paragraph(std::string &s, int maxcol, int channel)