diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-05-24 15:24:50 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-05-24 15:24:50 +0300 |
commit | e4b7d2f463d19cab28985414365fd8415e3dc700 (patch) | |
tree | 4c2d6ba634d2cdd0be3154d5e469a0cc9f386ca1 /indra/newview/llviewerchat.cpp | |
parent | 591a80765c4438f72795230824d2e549bafc592d (diff) |
Mark script messages in compact mode too; code clean up
Diffstat (limited to 'indra/newview/llviewerchat.cpp')
-rw-r--r-- | indra/newview/llviewerchat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerchat.cpp b/indra/newview/llviewerchat.cpp index 70c426740b..ce29ceac1a 100644 --- a/indra/newview/llviewerchat.cpp +++ b/indra/newview/llviewerchat.cpp @@ -217,7 +217,7 @@ S32 LLViewerChat::getChatFontSize() //static void LLViewerChat::formatChatMsg(const LLChat& chat, std::string& formated_msg) { - std::string tmpmsg = chat.mIsScript ? chat.mText.substr(LUA_PREFIX.size()) : chat.mText; + std::string tmpmsg = remove_LUA_PREFIX(chat.mText, chat.mIsScript); if(chat.mChatStyle == CHAT_STYLE_IRC) { formated_msg = chat.mFromName + tmpmsg.substr(3); |