Explorar el Código

* Patch from Joost van der Sluis to fix obvious crash

git-svn-id: trunk@6854 -
michael hace 18 años
padre
commit
2948802fb7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/fcl-web/src/fptemplate.pp

+ 1 - 1
packages/fcl-web/src/fptemplate.pp

@@ -433,7 +433,7 @@ begin
     Try
       P:=CreateParser;
       Try
-        If (F=Nil) then
+        If (F<>Nil) then
           begin
           P.ParseStream(F,S);
           Result:=S.DataString;