diff options
Diffstat (limited to 'src/progs')
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 3 | ||||
-rw-r--r-- | src/progs/manaplus/actions/chat.cpp | 7 | ||||
-rw-r--r-- | src/progs/manaplus/actions/commands.cpp | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 1a3543aba..f74cc681a 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -1883,7 +1883,8 @@ impHandler(barToChat) { if (chatWindow != nullptr) { - chatWindow->addInputText(event.args); + chatWindow->addInputText(event.args, + true); return true; } return false; diff --git a/src/progs/manaplus/actions/chat.cpp b/src/progs/manaplus/actions/chat.cpp index 2440af9af..5e74b1a36 100644 --- a/src/progs/manaplus/actions/chat.cpp +++ b/src/progs/manaplus/actions/chat.cpp @@ -291,8 +291,9 @@ impHandler(msgText) } else { - chatWindow->addInputText(std::string("/w \"").append( - event.args).append("\" ")); + chatWindow->addInputText( + std::string("/w \"").append(event.args).append("\" "), + true); } return true; } @@ -574,7 +575,7 @@ impHandler(kickGuild) impHandler(addText) { if (chatWindow != nullptr) - chatWindow->addInputText(event.args); + chatWindow->addInputText(event.args, true); return true; } diff --git a/src/progs/manaplus/actions/commands.cpp b/src/progs/manaplus/actions/commands.cpp index 54b8c28bd..65a2b00c7 100644 --- a/src/progs/manaplus/actions/commands.cpp +++ b/src/progs/manaplus/actions/commands.cpp @@ -2009,7 +2009,7 @@ impHandler0(outfitToChat) const std::string str = outfitWindow->getOutfitString(); if (!str.empty()) - chatWindow->addInputText(str); + chatWindow->addInputText(str, true); return true; } |