diff options
author | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-08 21:15:01 +0000 |
---|---|---|
committer | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-08 21:15:01 +0000 |
commit | 5b4785d36f83f3361f89b33c84839591969d24a6 (patch) | |
tree | ea83f4e481defb6d0b2d4a4ba858ffaad77c1c49 /Game | |
parent | d2254ffc1eb4bfe47ee68311eea21892b1bcc5d9 (diff) | |
download | usdx-5b4785d36f83f3361f89b33c84839591969d24a6.tar.gz usdx-5b4785d36f83f3361f89b33c84839591969d24a6.tar.xz usdx-5b4785d36f83f3361f89b33c84839591969d24a6.zip |
Changed d_name to name.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@597 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UPlatformLinux.pas | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Game/Code/Classes/UPlatformLinux.pas b/Game/Code/Classes/UPlatformLinux.pas index 1713df1c..fd06097d 100644 --- a/Game/Code/Classes/UPlatformLinux.pas +++ b/Game/Code/Classes/UPlatformLinux.pas @@ -38,21 +38,21 @@ begin repeat
ADirent := oldlinux.ReadDir(TheDir);
- If Assigned(ADirent) and (ADirent^.d_name <> '.') and (ADirent^.d_name <> '..') then
+ If Assigned(ADirent) and (ADirent^.name <> '.') and (ADirent^.name <> '..') then
begin
- lAttrib := FileGetAttr(Dir + ADirent^.d_name);
+ lAttrib := FileGetAttr(Dir + ADirent^.name);
if ReturnAllSubDirs and ((lAttrib and faDirectory) <> 0) then
begin
SetLength( Result, i + 1);
- Result[i].Name := ADirent^.d_name;
+ Result[i].Name := ADirent^.name;
Result[i].IsDirectory := true;
Result[i].IsFile := false;
i := i + 1;
end
- else if (Length(Filter) = 0) or (Pos( Filter, LowerCase(ADirent^.d_name)) > 0) then
+ else if (Length(Filter) = 0) or (Pos( Filter, LowerCase(ADirent^.name)) > 0) then
begin
SetLength( Result, i + 1);
- Result[i].Name := ADirent^.d_name;
+ Result[i].Name := ADirent^.name;
Result[i].IsDirectory := false;
Result[i].IsFile := true;
i := i + 1;
|