From 6037fb313cc4b06ce5ce0d100631ac72fa857552 Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 26 Jul 2007 12:37:25 +0000 Subject: Changed Nemelex description (David.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1933 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/menu.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/menu.cc') 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) -- cgit v1.2.3-54-g00ecf