summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-04 23:26:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-04 23:26:11 +0300
commit9630767dc8786a001185356abba081bd0acbbef5 (patch)
treefa59283eb2c42d64e8768bf4a7792cb2555d6b39
parent7c6e9f7e1fab8d3bded01d7d120f2e718fbdc1eb (diff)
downloadmv-9630767dc8786a001185356abba081bd0acbbef5.tar.gz
mv-9630767dc8786a001185356abba081bd0acbbef5.tar.bz2
mv-9630767dc8786a001185356abba081bd0acbbef5.tar.xz
mv-9630767dc8786a001185356abba081bd0acbbef5.zip
Reserve some characters sequence for future usage in chat messages.
-rw-r--r--src/gui/windows/chatwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index c579c7a70..d81775b43 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1637,6 +1637,10 @@ bool ChatWindow::resortChatLog(std::string line,
// Do nothing. Before was local pet talk
return false;
}
+ if (line.find(": \302\202\304") != std::string::npos)
+ {
+ replaceAll(line, ": \302\202\304", ": ");
+ }
if (tradeChatTab)
{