mirror of https://gitlab.com/basile.b/dexed.git
fix init of string range
This commit is contained in:
parent
32655fd0d1
commit
eeb9502757
|
@ -245,7 +245,7 @@ end;
|
|||
|
||||
function TCESymbolExpander.expand(const value: string): string;
|
||||
var
|
||||
rng: TStringRange;
|
||||
rng: TStringRange = (ptr:nil; pos:0; len: 0);
|
||||
sym: string;
|
||||
begin
|
||||
Result := '';
|
||||
|
@ -253,7 +253,7 @@ begin
|
|||
exit;
|
||||
//
|
||||
updateSymbols;
|
||||
rng := TStringRange.create(value);
|
||||
rng.init(value);
|
||||
while true do
|
||||
begin
|
||||
if rng.empty then
|
||||
|
|
Loading…
Reference in New Issue