diff options
author | Don Kjer <don@lindenlab.com> | 2007-10-11 00:28:42 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2007-10-11 00:28:42 +0000 |
commit | 1b550aaec246063090fe7143145d69eebfbd4680 (patch) | |
tree | 66b1d7c9f424e0183c5488037fcdae3a37916955 /indra/llui | |
parent | 5ec8bbbe2244ea70d8aa74b5c572351632699425 (diff) |
EFFECTIVE MERGE: svn merge -r 69928:70806 svn+ssh://svn/svn/linden/branches/maintenance-1 && svn merge -r 70948:70949 svn+ssh://svn/svn/linden/branches/maintenance-1-qa into release
ACTUAL MERGE: svn merge -r 71430:71431 svn+ssh://svn/svn/linden/qa/maintenance-1-merge-71429 into release
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/lllineeditor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index 37ee4c46ba..9671065ed2 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -1807,7 +1807,7 @@ BOOL LLLineEditor::prevalidateFloat(const LLWString &str) for( ; i < len; i++ ) { - if( (decimal_point != trimmed[i] ) && !isdigit( trimmed[i] ) ) + if( (decimal_point != trimmed[i] ) && !LLStringOps::isDigit( trimmed[i] ) ) { success = FALSE; break; @@ -1862,7 +1862,7 @@ BOOL LLLineEditor::postvalidateFloat(const LLString &str) } } else - if( isdigit( trimmed[i] ) ) + if( LLStringOps::isDigit( trimmed[i] ) ) { has_digit = TRUE; } @@ -1905,7 +1905,7 @@ BOOL LLLineEditor::prevalidateInt(const LLWString &str) for( ; i < len; i++ ) { - if( !isdigit( trimmed[i] ) ) + if( !LLStringOps::isDigit( trimmed[i] ) ) { success = FALSE; break; @@ -1934,7 +1934,7 @@ BOOL LLLineEditor::prevalidatePositiveS32(const LLWString &str) S32 i = 0; while(success && (i < len)) { - if(!isdigit(trimmed[i++])) + if(!LLStringOps::isDigit(trimmed[i++])) { success = FALSE; } @@ -1968,7 +1968,7 @@ BOOL LLLineEditor::prevalidateNonNegativeS32(const LLWString &str) S32 i = 0; while(success && (i < len)) { - if(!isdigit(trimmed[i++])) + if(!LLStringOps::isDigit(trimmed[i++])) { success = FALSE; } |