20000417-05:49 GMT+1 Victor Szakats <info@szelvesz.hu>
This commit is contained in:
@@ -130,8 +130,8 @@ static LONG hb_arraySortQuickPartition( PHB_ITEM pItems, LONG lb, LONG ub, PHB_I
|
||||
hb_vmPush( pItems + i );
|
||||
hb_vmPush( &pivot );
|
||||
hb_vmDo( 2 );
|
||||
|
||||
if( HB_IS_LOGICAL( &hb_stack.Return ) && hb_stack.Return.item.asLogical.value )
|
||||
|
||||
if( ( HB_IS_LOGICAL( &hb_stack.Return ) ? hb_stack.Return.item.asLogical.value : hb_itemIsLess( pItems + i, &pivot ) ) )
|
||||
i++;
|
||||
else
|
||||
break;
|
||||
@@ -145,7 +145,7 @@ static LONG hb_arraySortQuickPartition( PHB_ITEM pItems, LONG lb, LONG ub, PHB_I
|
||||
hb_vmPush( pItems + j );
|
||||
hb_vmDo( 2 );
|
||||
|
||||
if( HB_IS_LOGICAL( &hb_stack.Return ) && hb_stack.Return.item.asLogical.value )
|
||||
if( ( HB_IS_LOGICAL( &hb_stack.Return ) ? hb_stack.Return.item.asLogical.value : hb_itemIsLess( &pivot, pItems + j ) ) )
|
||||
j--;
|
||||
else
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user