aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/base/UPath.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/UPath.pas b/src/base/UPath.pas
index 79045486..3d4804d7 100644
--- a/src/base/UPath.pas
+++ b/src/base/UPath.pas
@@ -563,7 +563,7 @@ end;
function Path(PathName: PChar; DelimOption: TPathDelimOption): IPath;
begin
- Result := Path(string(PathName));
+ Result := Path(RawByteString(PathName));
end;
function Path(const PathName: WideString; DelimOption: TPathDelimOption): IPath;