소스 검색

* Fixed TObject.FieldAddress

sg 25 년 전
부모
커밋
2aca65148b
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      rtl/inc/objpas.inc

+ 5 - 2
rtl/inc/objpas.inc

@@ -224,7 +224,7 @@
 		     fieldaddress := Pointer(Self) + FieldInfo^.FieldOffset;
 	             exit;
 		   end;
-		   Inc(FieldInfo, 7 + Length(FieldInfo^.Name));
+		   Inc(Pointer(FieldInfo), 7 + Length(FieldInfo^.Name));
 	         end;
 	       end;
 	       { Try again with the parent class type }
@@ -455,7 +455,10 @@
 
 {
   $Log$
-  Revision 1.17  2000-07-08 07:24:24  sg
+  Revision 1.18  2000-07-08 21:27:42  sg
+  * Fixed TObject.FieldAddress
+
+  Revision 1.17  2000/07/08 07:24:24  sg
   * FieldAddress now returns immediately if name=''
 
   Revision 1.16  2000/06/29 16:32:50  sg