diff options
author | Kakurady (Geneko Nemeth) | 2009-11-16 14:25:07 -0500 |
---|---|---|
committer | Jacek Antonelli | 2010-03-05 14:38:32 -0600 |
commit | d9758c695974341abd9f0631a57903bb72fb0574 (patch) | |
tree | 480474067a02392a8c6b18d184346bea0cf033cd /linden | |
parent | Ported breast physics from Emerald. (diff) | |
download | meta-impy-d9758c695974341abd9f0631a57903bb72fb0574.zip meta-impy-d9758c695974341abd9f0631a57903bb72fb0574.tar.gz meta-impy-d9758c695974341abd9f0631a57903bb72fb0574.tar.bz2 meta-impy-d9758c695974341abd9f0631a57903bb72fb0574.tar.xz |
Use solid circles instead of asterisks for password fields.
Diffstat (limited to 'linden')
-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 e5e193f..c574814 100644 --- a/linden/indra/llui/lllineeditor.cpp +++ b/linden/indra/llui/lllineeditor.cpp | |||
@@ -351,7 +351,7 @@ void LLLineEditor::setCursorAtLocalPos( S32 local_mouse_x ) | |||
351 | { | 351 | { |
352 | for (S32 i = 0; i < mText.length(); i++) | 352 | for (S32 i = 0; i < mText.length(); i++) |
353 | { | 353 | { |
354 | asterix_text += '*'; | 354 | asterix_text += (llwchar) 0x2022L; |
355 | } | 355 | } |
356 | wtext = asterix_text.c_str(); | 356 | wtext = asterix_text.c_str(); |
357 | } | 357 | } |
@@ -1484,7 +1484,7 @@ void LLLineEditor::draw() | |||
1484 | std::string text; | 1484 | std::string text; |
1485 | for (S32 i = 0; i < mText.length(); i++) | 1485 | for (S32 i = 0; i < mText.length(); i++) |
1486 | { | 1486 | { |
1487 | text += '*'; | 1487 | text += "\xe2\x80\xa2"; |
1488 | } | 1488 | } |
1489 | mText = text; | 1489 | mText = text; |
1490 | } | 1490 | } |