* Do not quote twice in maybequoted. Fix issue

This commit is contained in:
Michaël Van Canneyt 2023-11-03 09:41:03 +01:00
parent 2cec31d86f
commit e3d3fe654c

View File

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