Browse Source

* fixed wii compilation after r24993

git-svn-id: branches/cpstrrtl@25047 -
Jonas Maebe 12 years ago
parent
commit
e26210f448
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/wii/sysdir.inc

+ 1 - 1
rtl/wii/sysdir.inc

@@ -46,7 +46,7 @@ begin
   { TODO: convert callback to use rawbytestring to avoid conversion }
   { TODO: convert callback to use rawbytestring to avoid conversion }
   if FileIODevice.DirIO.DoGetdir <> nil then
   if FileIODevice.DirIO.DoGetdir <> nil then
     begin
     begin
-      FileIODevice.DirIO.DoGetdir(DriveNr, Dir);
+      FileIODevice.DirIO.DoGetdir(DriveNr, TmpDir);
       Dir:=TmpDir;
       Dir:=TmpDir;
       SetCodePage(Dir,DefaultFileSystemCodePage,false);
       SetCodePage(Dir,DefaultFileSystemCodePage,false);
     end;
     end;