소스 검색

* firstoff->widefirstoff typo correction

git-svn-id: trunk@3629 -
marco 19 년 전
부모
커밋
96ad9ad3cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/inc/wstrings.inc

+ 1 - 1
rtl/inc/wstrings.inc

@@ -710,7 +710,7 @@ begin
       { Force nil termination in case it gets shorter }
       PWord(Pointer(S)+l*sizeof(WideChar))^:=0;
 {$ifndef FPC_WINLIKEWIDESTRING}
-      PWideRec(Pointer(S)-FirstOff)^.Len:=l*sizeof(WideChar);
+      PWideRec(Pointer(S)-WideFirstOff)^.Len:=l*sizeof(WideChar);
 {$endif FPC_WINLIKEWIDESTRING}
     end
   else