2
0
Эх сурвалжийг харах

* xmlread.pp, a misplaced assignment could cause a #13 character to pass non-normalized to #10 if it was the last character in input stream.

git-svn-id: trunk@15974 -
sergei 15 жил өмнө
parent
commit
06c1413fb0

+ 1 - 1
packages/fcl-xml/src/xmlread.pp

@@ -896,8 +896,8 @@ begin
           Inc(FBuf);
           Inc(LFPos);
         end;
-        FBuf^ := #10;
       end;
+      FBuf^ := #10;
     end;
     #$85, #$2028: if FXML11Rules then
     begin