Browse Source

* endian thing fix I hope

git-svn-id: trunk@4015 -
marco 19 years ago
parent
commit
f10da047d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/xml/xmlread.pp

+ 1 - 1
fcl/xml/xmlread.pp

@@ -261,7 +261,7 @@ begin
     Inc(buf, 2);
     FSource := TUCS2CharSource.Create(Self, buf);
     {$IFDEF ENDIAN_BIG}
-    TUCS2CharSource(FReader.FSource).FSwapEndian := True;
+    TUCS2CharSource(FSource).FSwapEndian := True;
     {$ENDIF}
   end
   else