2006-09-11 20:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
I'll add Class(y) compatible functions used in class(y) header files
|
||||
so it will be possible to use original class(y) .ch files in Harbour
|
||||
though it will not be the most efficient because we have @func() operator
|
||||
which gives better performance then using codeblocks. Anyhow classy
|
||||
create separate meta class for each class with CLASS members and
|
||||
<clasName>() function always return such meta class object so for full
|
||||
Class(y) compatibility we need to generate differ .prg code.
|
||||
|
||||
@@ -1631,14 +1631,13 @@ HB_EXPORT int hb_itemStrCmp( PHB_ITEM pFirst, PHB_ITEM pSecond, BOOL bForceExact
|
||||
}
|
||||
while( --ulMinLen );
|
||||
|
||||
if( !iRet && ulLenSecond != ulLenFirst )
|
||||
if( hb_set.HB_SET_EXACT || bForceExact || ulLenSecond > ulLenFirst )
|
||||
{
|
||||
if( ulLenSecond > ulLenFirst )
|
||||
iRet = 1;
|
||||
else if( hb_set.HB_SET_EXACT || bForceExact )
|
||||
iRet = -1;
|
||||
/* Force an exact comparison */
|
||||
if( !iRet && ulLenFirst != ulLenSecond )
|
||||
/* If length is different ! */
|
||||
iRet = ( ulLenFirst < ulLenSecond ) ? -1 : 1;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user