INTEGRATION: CWS sb5 (1.16.108); FILE MERGED
2003/06/16 13:46:22 sb 1.16.108.1: #92543# Fixed rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength to return a correct result if the first string is shorter than the second.
This commit is contained in:
parent
9c8196359f
commit
3fcc5a8e8c
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: ustring.c,v $
|
||||
*
|
||||
* $Revision: 1.16 $
|
||||
* $Revision: 1.17 $
|
||||
*
|
||||
* last change: $Author: sb $ $Date: 2002-11-05 11:01:37 $
|
||||
* last change: $Author: hr $ $Date: 2003-08-07 14:58:22 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -299,7 +299,7 @@ sal_Int32 SAL_CALL rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( const sal_U
|
|||
do
|
||||
{
|
||||
if ( !nStr1Len )
|
||||
return 0;
|
||||
return *pStr2 == '\0' ? 0 : -1;
|
||||
|
||||
/* If character between 'A' and 'Z', than convert it to lowercase */
|
||||
c1 = (sal_Int32)*pStr1;
|
||||
|
|
Loading…
Reference in a new issue