aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-08-15 18:23:25 +0000
committercanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-08-15 18:23:25 +0000
commit310d127b07240e75aa29798cb1b024cede03cbf6 (patch)
treeb1c674fd14ac8084d95367dfb58ab488b2a84bb4
parent0ad3fcc7db20508948d5c80158ab6ba4bd4079e6 (diff)
downloadusdx-310d127b07240e75aa29798cb1b024cede03cbf6.tar.gz
usdx-310d127b07240e75aa29798cb1b024cede03cbf6.tar.xz
usdx-310d127b07240e75aa29798cb1b024cede03cbf6.zip
- fixed absolute path function (thx to the anonymous irc guy)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2612 b956fd51-792f-4845-bead-9b4dfca2ff2c
-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 7c00e7b1..7cb2f649 100644
--- a/src/base/UPath.pas
+++ b/src/base/UPath.pas
@@ -1028,7 +1028,7 @@ end;
function TPathImpl.IsAbsolute(): boolean;
begin
AssertRefCount;
- Result := FileSystem.FileIsReadOnly(Self);
+ Result := FileSystem.FileIsAbsolute(Self);
end;
function TPathImpl.GetAttr(): cardinal;