minor code change for type consisitency
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
unit HCL;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$macro on}
|
||||
{$linklib hcl}
|
||||
{$linklib c}
|
||||
{$linklib dl}
|
||||
@ -267,7 +268,7 @@ begin
|
||||
(* included file *)
|
||||
nf := NamedHandlePtr(arg^.includer^.handle);
|
||||
basedir := SysUtils.ExtractFilePath(nf^.name);
|
||||
name := UTF8Encode(arg^.name);
|
||||
name := System.UTF8Encode(WideString(arg^.name));
|
||||
if SysUtils.CompareStr(basedir, '') <> 0 then
|
||||
name := SysUtils.ConcatPaths([basedir, name]);
|
||||
end;
|
||||
|
Reference in New Issue
Block a user