diff options
| author | James Cook <james@lindenlab.com> | 2007-02-15 20:24:08 +0000 |
|---|---|---|
| committer | James Cook <james@lindenlab.com> | 2007-02-15 20:24:08 +0000 |
| commit | 12ac04231b8d358e70c830f7958f7efbc0f7c0d1 (patch) | |
| tree | 189b9bc4e3bfa63275cc41be8dc42a28b0f54ffe /indra/llcommon/llstring.h | |
| parent | 4feabe4a9caec380cad405d5410bc762c862113d (diff) | |
merge -r 57761:57967 im-email-session-3, removes database load from IM to email session tracking, introduces new format for email return addresses
Diffstat (limited to 'indra/llcommon/llstring.h')
| -rw-r--r-- | indra/llcommon/llstring.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h index a381af74d0..6e9ea0b5a0 100644 --- a/indra/llcommon/llstring.h +++ b/indra/llcommon/llstring.h @@ -904,7 +904,7 @@ void LLStringBase<T>::replaceNonstandardASCII( std::basic_string<T>& string, T r //static template<class T> -void LLStringBase<T>::replaceTabsWithSpaces( std::basic_string<T>& string, size_type spaces_per_tab ) +void LLStringBase<T>::replaceTabsWithSpaces( std::basic_string<T>& str, size_type spaces_per_tab ) { llassert( spaces_per_tab >= 0 ); @@ -913,19 +913,19 @@ void LLStringBase<T>::replaceTabsWithSpaces( std::basic_string<T>& string, size_ LLStringBase<T> out_str; // Replace tabs with spaces - for (size_type i = 0; i < string.length(); i++) + for (size_type i = 0; i < str.length(); i++) { - if (string[i] == TAB) + if (str[i] == TAB) { for (size_type j = 0; j < spaces_per_tab; j++) out_str += SPACE; } else { - out_str += string[i]; + out_str += str[i]; } } - string = out_str; + str = out_str; } //static |
