浏览代码

* fixed wii compilation after r24993

git-svn-id: branches/cpstrrtl@25047 -
Jonas Maebe 12 年之前
父节点
当前提交
e26210f448
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 }
   if FileIODevice.DirIO.DoGetdir <> nil then
     begin
-      FileIODevice.DirIO.DoGetdir(DriveNr, Dir);
+      FileIODevice.DirIO.DoGetdir(DriveNr, TmpDir);
       Dir:=TmpDir;
       SetCodePage(Dir,DefaultFileSystemCodePage,false);
     end;