diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-05-24 10:15:24 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-05-24 10:15:24 -0400 |
commit | 94cac4c443b5acc189b5223c78eb278648846338 (patch) | |
tree | 2e730bce8741bc8130e0f822d4d15394c41c9d84 /indra/newview/llchathistory.cpp | |
parent | f700ec2e8b16eea8eded72839857c70a081fe478 (diff) |
Fix merge glitches
Diffstat (limited to 'indra/newview/llchathistory.cpp')
-rw-r--r-- | indra/newview/llchathistory.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index e5878a9a24..d549f372e3 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -1265,19 +1265,8 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL name_params.color(name_color); name_params.readonly_color(name_color); -<<<<<<< variant A auto [message, is_lua] = LLStringUtil::withoutPrefix(chat.mText, LUA_PREFIX); std::string prefix = message.substr(0, 4); ->>>>>>> variant B - bool is_lua = LLStringUtil::startsWith(chat.mText, LUA_PREFIX); - - std::string message = remove_LUA_PREFIX(chat.mText, is_lua); - std::string prefix = message.substr(0, 4); - -####### Ancestor - bool is_lua = (chat.mText.substr(0, LUA_PREFIX.size()) == LUA_PREFIX); - std::string prefix = chat.mText.substr(is_lua ? LUA_PREFIX.size() : 0, 4); -======= end //IRC styled /me messages. bool irc_me = prefix == "/me " || prefix == "/me'"; |