summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-04 22:00:02 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-04 22:00:02 +0000
commit67bcc60d62f03fcbec645cd103ee7b53c12de119 (patch)
treef5f882fde6bd78a926cb64af019c09d0225750b9 /crawl-ref/source/menu.cc
parentaf65a4e054eb0cb18f736776f7fa3bcc29e4eb9c (diff)
downloadcrawl-ref-67bcc60d62f03fcbec645cd103ee7b53c12de119.tar.gz
crawl-ref-67bcc60d62f03fcbec645cd103ee7b53c12de119.zip
Type-safety on mpr() and friends channel argument.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1970 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.cc')
-rw-r--r--crawl-ref/source/menu.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc
index d5c39d31db..a6cd0e4347 100644
--- a/crawl-ref/source/menu.cc
+++ b/crawl-ref/source/menu.cc
@@ -1268,7 +1268,8 @@ std::string get_linebreak_string(const std::string& s, int maxcol)
// 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)
+void print_formatted_paragraph(std::string &s, int maxcol,
+ msg_channel_type channel)
{
linebreak_string2(s,maxcol);
std::string text;