mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 20:37:20 +01:00
lcl: initialize special characters on TTextStrings construction (fixes issue #0015021)
git-svn-id: trunk@22485 -
This commit is contained in:
parent
07cc515962
commit
6c561c5788
@ -70,6 +70,7 @@ type
|
||||
function HasObjects: boolean;
|
||||
function CountLineEndings(const s: string): integer;
|
||||
public
|
||||
constructor Create;
|
||||
destructor Destroy; override;
|
||||
procedure Clear; override;
|
||||
procedure SetText(TheText: PChar); override;
|
||||
@ -306,6 +307,12 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
constructor TTextStrings.Create;
|
||||
begin
|
||||
inherited Create;
|
||||
CheckSpecialChars;
|
||||
end;
|
||||
|
||||
destructor TTextStrings.Destroy;
|
||||
begin
|
||||
Clear;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user