aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-06 19:05:25 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-06 19:05:25 +0000
commitd89662dbff77b0608fb752f40b20def74839bfd1 (patch)
treeabba0abaabddfad612d4736e3bcfcbbbdf91b547 /src
parent94f7a113b7a8faba16ef04beb115c6aeaebe77b9 (diff)
downloadusdx-d89662dbff77b0608fb752f40b20def74839bfd1.tar.gz
usdx-d89662dbff77b0608fb752f40b20def74839bfd1.tar.xz
usdx-d89662dbff77b0608fb752f40b20def74839bfd1.zip
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
Diffstat (limited to 'src')
-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;