summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mpr.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-28 23:41:06 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-29 01:07:35 +0100
commitdcc0ed19d09e205c10bddb627c27520477f126f0 (patch)
treef9a14537b928c16f535eb21517242db7c180034e /crawl-ref/source/mpr.h
parentf6a14d95cd3737dd283c16f87fb9666774fb5aa4 (diff)
downloadcrawl-ref-dcc0ed19d09e205c10bddb627c27520477f126f0.tar.gz
crawl-ref-dcc0ed19d09e205c10bddb627c27520477f126f0.zip
Reverse the order of arguments in mpr_nojoin().
The old one was quite bizarre, inconsistent with mprf(). Only two cases used the default channel (mpr_nojoin() is quite special...), so I did not add an overload with the default.
Diffstat (limited to 'crawl-ref/source/mpr.h')
-rw-r--r--crawl-ref/source/mpr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mpr.h b/crawl-ref/source/mpr.h
index cb45865ef2..7c05e85fd4 100644
--- a/crawl-ref/source/mpr.h
+++ b/crawl-ref/source/mpr.h
@@ -87,7 +87,7 @@ enum diag_type
msg_colour_type msg_colour(int colour);
void mpr(string text);
-void mpr_nojoin(string text, msg_channel_type channel=MSGCH_PLAIN, int param=0);
+void mpr_nojoin(msg_channel_type channel, string text);
void mpr_nocap(string text, msg_channel_type channel=MSGCH_PLAIN,
int param=0, bool nojoin=false);