diff options
author | Kakurady (Geneko Nemeth) | 2009-11-16 14:25:07 -0500 |
---|---|---|
committer | McCabe Maxsted | 2010-09-06 20:32:23 -0700 |
commit | c9ba7baf0230dacbf33601ace7f616c10b5d5967 (patch) | |
tree | 538bc3c53d1d1f4245cf738d6ac045fa57dbe8d4 | |
parent | Potential fix for a rare crash when creating notecards in the AO (diff) | |
download | meta-impy-c9ba7baf0230dacbf33601ace7f616c10b5d5967.zip meta-impy-c9ba7baf0230dacbf33601ace7f616c10b5d5967.tar.gz meta-impy-c9ba7baf0230dacbf33601ace7f616c10b5d5967.tar.bz2 meta-impy-c9ba7baf0230dacbf33601ace7f616c10b5d5967.tar.xz |
Use solid circles instead of asterisks for password fields.
Regression fix for the 09.04 Experimental
-rw-r--r-- | linden/indra/llui/lllineeditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/lllineeditor.cpp b/linden/indra/llui/lllineeditor.cpp index 7d91ece..c1d8efa 100644 --- a/linden/indra/llui/lllineeditor.cpp +++ b/linden/indra/llui/lllineeditor.cpp | |||
@@ -439,7 +439,7 @@ S32 LLLineEditor::calculateCursorFromMouse( S32 local_mouse_x ) | |||
439 | { | 439 | { |
440 | for (S32 i = 0; i < mText.length(); i++) | 440 | for (S32 i = 0; i < mText.length(); i++) |
441 | { | 441 | { |
442 | asterix_text += '*'; | 442 | asterix_text += (llwchar) 0x2022L; |
443 | } | 443 | } |
444 | wtext = asterix_text.c_str(); | 444 | wtext = asterix_text.c_str(); |
445 | } | 445 | } |
@@ -1938,7 +1938,7 @@ void LLLineEditor::draw() | |||
1938 | std::string text; | 1938 | std::string text; |
1939 | for (S32 i = 0; i < mText.length(); i++) | 1939 | for (S32 i = 0; i < mText.length(); i++) |
1940 | { | 1940 | { |
1941 | text += '*'; | 1941 | text += "\xe2\x80\xa2"; |
1942 | } | 1942 | } |
1943 | mText = text; | 1943 | mText = text; |
1944 | } | 1944 | } |