transgui: fix crash at startup with file argument
This commit is contained in:
parent
a325405c93
commit
0ee70af836
|
@ -16,7 +16,7 @@ index eb8b828..1ff2440 100644
|
||||||
function ParamStrUTF8(Param: Integer): utf8string;
|
function ParamStrUTF8(Param: Integer): utf8string;
|
||||||
begin
|
begin
|
||||||
- Result:=FileUtil.ParamStrUTF8(Param);
|
- Result:=FileUtil.ParamStrUTF8(Param);
|
||||||
+ Result:=ParamStrUTF8(Param);
|
+ Result:=LazUtf8.ParamStrUTF8(Param);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function ParamCount: integer;
|
function ParamCount: integer;
|
||||||
|
|
Loading…
Reference in New Issue