IDE: less hints

This commit is contained in:
mattias 2022-04-14 21:48:17 +02:00
parent 4829be3ad1
commit 49222b1e9d
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ procedure ParseResourceType(Code: TCodeBuffer; NestedComments: boolean;
begin
Inc(ds);
i := IndexChar(ds^, -1, '''');
SetLength(Result, i);
SetLength(Result{%H-}, i);
if i>0 then
Move(ds^, Result[1], i);
end else begin

View File

@ -53,7 +53,7 @@ var
ok: boolean;
Vals: array of string;
begin
SetLength(Vals, 2);
SetLength(Vals{%H-}, 2);
Vals[0]:= AName;
Vals[1]:= AValue;