Sfoglia il codice sorgente

* Patch from Thorsten for bug in lower than equal( only did lower than)

git-svn-id: trunk@6423 -
marco 18 anni fa
parent
commit
0d070eef7f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      rtl/inc/variant.inc

+ 1 - 1
rtl/inc/variant.inc

@@ -605,7 +605,7 @@ operator >=(const op1,op2 : variant) dest : boolean;{$ifdef SYSTEMINLINE}inline;
 
 
 operator <=(const op1,op2 : variant) dest : boolean;{$ifdef SYSTEMINLINE}inline;{$endif}
 operator <=(const op1,op2 : variant) dest : boolean;{$ifdef SYSTEMINLINE}inline;{$endif}
   begin
   begin
-     dest:=variantmanager.cmpop(op1,op2,opcmplt);
+     dest:=variantmanager.cmpop(op1,op2,opcmple);
   end;
   end;
 
 
 procedure VarArrayRedim(var A: Variant; HighBound: SizeInt);
 procedure VarArrayRedim(var A: Variant; HighBound: SizeInt);