fixed creating string in lfm starting with ' (bug )

git-svn-id: trunk@7520 -
This commit is contained in:
vincents 2005-08-17 13:24:49 +00:00
parent e6cbf72943
commit 40a72b9798

View File

@ -1166,9 +1166,10 @@ procedure LRSObjectBinaryToText(Input, Output: TStream);
NewInString := False;
NewStr := '#' + IntToStr(Ord(s[i]));
end;
'''':
if InString then NewStr := ''''''
else NewStr := '''''''';
'''': begin
NewInString := True;
NewStr:='''''';
end;
else begin
NewInString := True;
NewStr := s[i];