mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 13:04:14 +02:00
fixed creating string in lfm starting with ' (bug #1036)
git-svn-id: trunk@7520 -
This commit is contained in:
parent
e6cbf72943
commit
40a72b9798
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user