diff options
author | SmallJoker <mk939@ymail.com> | 2016-10-06 13:49:40 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2016-10-06 13:57:40 +0200 |
commit | b66a5d2f8842cc84ae44257dc0ead255e5b0538f (patch) | |
tree | 36a575922bd5f5c803261be411346443067b0592 | |
parent | 667975fe3adee935a3f4d2b1a421a295771c664d (diff) | |
download | minetest-b66a5d2f8842cc84ae44257dc0ead255e5b0538f.tar.gz minetest-b66a5d2f8842cc84ae44257dc0ead255e5b0538f.tar.bz2 minetest-b66a5d2f8842cc84ae44257dc0ead255e5b0538f.zip |
Fix narrow string compiling issue on MSVC2010
-rw-r--r-- | src/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp index e9983ba11..639e6462a 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -2757,7 +2757,7 @@ std::wstring Server::handleChat(const std::string &name, const std::wstring &wna std::wstringstream ws; ws << L"You cannot send more messages. You are limited to " << g_settings->getFloat("chat_message_limit_per_10sec") - << " messages per 10 seconds."; + << L" messages per 10 seconds."; return ws.str(); } case RPLAYER_CHATRESULT_KICK: @@ -2770,7 +2770,7 @@ std::wstring Server::handleChat(const std::string &name, const std::wstring &wna if (m_max_chatmessage_length > 0 && wmessage.length() > m_max_chatmessage_length) { return L"Your message exceed the maximum chat message limit set on the server. " - "It was refused. Send a shorter message"; + L"It was refused. Send a shorter message"; } // Commands are implemented in Lua, so only catch invalid |