From d89662dbff77b0608fb752f40b20def74839bfd1 Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 6 Apr 2010 19:05:25 +0000 Subject: addition to previous commit: - cast to RawByteString instead of string to avoid ambiguity git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2219 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UPath.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3