Browse Source

* Fix syntax error

Michaël Van Canneyt 1 year ago
parent
commit
9fe4e1247f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fpmkunit/src/fpmkunit.pp

+ 1 - 1
packages/fpmkunit/src/fpmkunit.pp

@@ -2429,7 +2429,7 @@ var
 begin
 begin
   quoted:=false;
   quoted:=false;
   // If first and last are quotes, we assume it is already quoted.
   // If first and last are quotes, we assume it is already quoted.
-  if Length(S)>1 and (S[1]='"') and (S[Length(S)]='"') then
+  if (Length(S)>1) and (S[1]='"') and (S[Length(S)]='"') then
     Exit(S);
     Exit(S);
   s1:='"';
   s1:='"';
   for i:=1 to length(s) do
   for i:=1 to length(s) do