lazutils: fixed reading xml with BOM, bug #23852

git-svn-id: trunk@40206 -
This commit is contained in:
mattias 2013-02-08 09:37:10 +00:00
parent 4e4bffbae4
commit 247bb4784b

View File

@ -1186,7 +1186,7 @@ begin
end;
end;
{$ENDIF}
FBufSize := 6; // possible BOM and '<?xml'
FBufSize := 8; // possible BOM and '<?xml'
Reload;
{$IFDEF UseWideString}
if FBuf^ = #$FEFF then