diff options
author | Aleric Inglewood | 2010-11-06 20:50:03 +0100 |
---|---|---|
committer | McCabe Maxsted | 2010-11-06 16:51:50 -0700 |
commit | 1e2effb043c23df5d8ecaf856c80b64a42977e8e (patch) | |
tree | 226864bb3909d428d7d1529e6ced9645aefc6284 /linden/indra | |
parent | Applied patch by Qarl Fizz to allow drag selection on plants. See http://www.... (diff) | |
download | meta-impy-1e2effb043c23df5d8ecaf856c80b64a42977e8e.zip meta-impy-1e2effb043c23df5d8ecaf856c80b64a42977e8e.tar.gz meta-impy-1e2effb043c23df5d8ecaf856c80b64a42977e8e.tar.bz2 meta-impy-1e2effb043c23df5d8ecaf856c80b64a42977e8e.tar.xz |
IMP-688: ERROR: getString: Invalid string control nick01
Don't look for the old variable names, "nick0*", but for the new ones.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterchat.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llprefscolors.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp index a453c39..e9ea14b 100644 --- a/linden/indra/newview/llfloaterchat.cpp +++ b/linden/indra/newview/llfloaterchat.cpp | |||
@@ -482,7 +482,7 @@ BOOL LLFloaterChat::isOwnNameInText(const std::string &text_line) | |||
482 | for (int i=1; i<=3; i++) | 482 | for (int i=1; i<=3; i++) |
483 | { | 483 | { |
484 | std::stringstream key; | 484 | std::stringstream key; |
485 | key << "nick0" << i; | 485 | key << "HighlightNickname0" << i; |
486 | std::string nick = gSavedSettings.getString(key.str()); | 486 | std::string nick = gSavedSettings.getString(key.str()); |
487 | if (! nick.empty()) | 487 | if (! nick.empty()) |
488 | { | 488 | { |
diff --git a/linden/indra/newview/llprefscolors.cpp b/linden/indra/newview/llprefscolors.cpp index 36e98a4..b0bc345 100644 --- a/linden/indra/newview/llprefscolors.cpp +++ b/linden/indra/newview/llprefscolors.cpp | |||
@@ -71,6 +71,7 @@ BOOL LLPrefsColors::postBuild() | |||
71 | updateSelfCheck(); | 71 | updateSelfCheck(); |
72 | updateFriendsCheck(); | 72 | updateFriendsCheck(); |
73 | 73 | ||
74 | // All three of these settings must exist, they are read by LLFloaterChat::isOwnNameInText. | ||
74 | childSetValue("nick01", gSavedSettings.getString("HighlightNickname01")); | 75 | childSetValue("nick01", gSavedSettings.getString("HighlightNickname01")); |
75 | childSetValue("nick02", gSavedSettings.getString("HighlightNickname02")); | 76 | childSetValue("nick02", gSavedSettings.getString("HighlightNickname02")); |
76 | childSetValue("nick03", gSavedSettings.getString("HighlightNickname03")); | 77 | childSetValue("nick03", gSavedSettings.getString("HighlightNickname03")); |