소스 검색

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

git-svn-id: trunk@6423 -
marco 18 년 전
부모
커밋
0d070eef7f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}
   begin
-     dest:=variantmanager.cmpop(op1,op2,opcmplt);
+     dest:=variantmanager.cmpop(op1,op2,opcmple);
   end;
 
 procedure VarArrayRedim(var A: Variant; HighBound: SizeInt);