diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-08 18:48:41 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-08 18:48:41 +0000 |
commit | 859a5ab42d2c9922f5ddc0b73961bb4231e379b7 (patch) | |
tree | 3fbd5e9d68ebe65470346bf7676ca92143452e21 /crawl-ref/source/message.h | |
parent | e2b75cbb2ad69c4cfd62eca04a82ee3fa04e3d6b (diff) | |
download | crawl-ref-859a5ab42d2c9922f5ddc0b73961bb4231e379b7.tar.gz crawl-ref-859a5ab42d2c9922f5ddc0b73961bb4231e379b7.zip |
When showing glyphs in messages (as in the tutorial), use stringize_glyph() to
convert Unicode glyphs to multibyte sequences.
Added multibyte_strlen to calculate string lengths correctly when dealing with
multibyte strings.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1560 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r-- | crawl-ref/source/message.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h index 5be11ce82f..d2cafbeeab 100644 --- a/crawl-ref/source/message.h +++ b/crawl-ref/source/message.h @@ -62,7 +62,7 @@ class formatted_string; void formatted_mpr(const formatted_string& fs, int channel = MSGCH_PLAIN, int param = 0); -void formatted_message_history(const std::string st, +void formatted_message_history(const std::string &st, int channel = MSGCH_PLAIN, int param = 0); // 4.1-style mpr, currently named mprf for minimal disruption. |