INTEGRATION: CWS krmisc (1.23.6); FILE MERGED
2006/10/12 07:06:26 kr 1.23.6.2: fixed: finally got it right #i59981# 2006/10/10 11:11:47 kr 1.23.6.1: fixed: #i59981#
This commit is contained in:
parent
2c29430803
commit
20c7949a91
1 changed files with 4 additions and 4 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: ustring.c,v $
|
||||
*
|
||||
* $Revision: 1.23 $
|
||||
* $Revision: 1.24 $
|
||||
*
|
||||
* last change: $Author: vg $ $Date: 2006-09-25 13:14:36 $
|
||||
* last change: $Author: rt $ $Date: 2006-10-27 12:14:32 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -158,8 +158,8 @@ sal_Int32 SAL_CALL rtl_ustr_ascii_compare_WithLength( const sal_Unicode* pStr1,
|
|||
sal_Int32 nStr1Len,
|
||||
const sal_Char* pStr2 )
|
||||
{
|
||||
sal_Int32 nRet;
|
||||
while( ((nRet = ((sal_Int32)(*pStr1))-
|
||||
sal_Int32 nRet = 0;
|
||||
while( ((nRet = (nStr1Len ? (sal_Int32)(*pStr1) : 0)-
|
||||
((sal_Int32)((unsigned char)(*pStr2)))) == 0) &&
|
||||
nStr1Len && *pStr2 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue