diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-04 20:47:43 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-04 20:47:43 +0000 |
commit | 22e8777cd20d3bf9a9bce64901c4838f99fe9326 (patch) | |
tree | 70880152136ee9d5d0156c5df0555912ad73a449 /crawl-ref/source/menu.h | |
parent | 013e0c0e9f3d7f35d9a9f8565622f4d7f3d17dee (diff) | |
download | crawl-ref-22e8777cd20d3bf9a9bce64901c4838f99fe9326.tar.gz crawl-ref-22e8777cd20d3bf9a9bce64901c4838f99fe9326.zip |
Don't pass number of columns to print_formatted_paragraph(), since it always
uses the width of the screen anyway. Have print_formatted_paragraph() respect
delay_message_clear. Fixes [2492045].
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8894 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index 7ac3fc90b8..d4bd101a47 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -507,8 +507,8 @@ protected: int linebreak_string( std::string& s, int wrapcol, int maxcol ); int linebreak_string2( std::string& s, int maxcol ); -void print_formatted_paragraph( std::string &s, int maxcol, - msg_channel_type channel = MSGCH_PLAIN); +void print_formatted_paragraph(std::string &s, + msg_channel_type channel = MSGCH_PLAIN); std::string get_linebreak_string(const std::string& s, int maxcol); #endif |