aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterchat.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-08 03:01:21 -0700
committerMcCabe Maxsted2009-10-08 03:01:21 -0700
commitaf3e9ef15886ab01bd123a2fc1cec5cf0f08b357 (patch)
tree7def316336a33c65f129c0acc37ea47a9c9aa82e /linden/indra/newview/llfloaterchat.cpp
parentMini-map radar now can notify you when someone enters the sim (diff)
downloadmeta-impy-af3e9ef15886ab01bd123a2fc1cec5cf0f08b357.zip
meta-impy-af3e9ef15886ab01bd123a2fc1cec5cf0f08b357.tar.gz
meta-impy-af3e9ef15886ab01bd123a2fc1cec5cf0f08b357.tar.bz2
meta-impy-af3e9ef15886ab01bd123a2fc1cec5cf0f08b357.tar.xz
Clickable IMs in chat history was causing readability problems at varying distances, decided it was a bug and fixed it
Diffstat (limited to 'linden/indra/newview/llfloaterchat.cpp')
-rw-r--r--linden/indra/newview/llfloaterchat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp
index cc86fce..5cb4282 100644
--- a/linden/indra/newview/llfloaterchat.cpp
+++ b/linden/indra/newview/llfloaterchat.cpp
@@ -215,7 +215,8 @@ void add_timestamped_line(LLViewerTextEditor* edit, LLChat chat, const LLColor4&
215 // If the chat line has an associated url, link it up to the name. 215 // If the chat line has an associated url, link it up to the name.
216 if (!chat.mURL.empty() && 216 if (!chat.mURL.empty() &&
217 (line.length() > chat.mFromName.length() && 217 (line.length() > chat.mFromName.length() &&
218 (line.find(chat.mFromName,0) == 4 || line.find(chat.mFromName,0) == 0))) 218 (line.find(chat.mFromName,0) == 4 || line.find(chat.mFromName,0) == 0)) &&
219 color == gSavedSettings.getColor4("ObjectIMColor")) // hack to make sure IMs in chat history don't hightlight
219 { 220 {
220 std::string start_line; 221 std::string start_line;
221 if (line.find(chat.mFromName,0) == 4) // IMs are prefaced with "IM: " 222 if (line.find(chat.mFromName,0) == 4) // IMs are prefaced with "IM: "