Add the new parameter for IFileList::addItem in a few places (will fix FileOpenDialog again).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3350 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2010-07-16 19:42:27 +00:00
parent d8fbf825d3
commit 0f94624fef
1 changed files with 5 additions and 5 deletions

View File

@ -623,7 +623,7 @@ IFileList* CFileSystem::createFileList()
{
do
{
r->addItem(Path + c_file.name, c_file.size, (_A_SUBDIR & c_file.attrib) != 0, 0);
r->addItem(Path + c_file.name, 0, c_file.size, (_A_SUBDIR & c_file.attrib) != 0, 0);
}
while( _tfindnext( hFile, &c_file ) == 0 );
@ -644,7 +644,7 @@ IFileList* CFileSystem::createFileList()
r = new CFileList(Path, false, false);
r->addItem(Path + "..", 0, true, 0);
r->addItem(Path + "..", 0, 0, true, 0);
//! We use the POSIX compliant methods instead of scandir
DIR* dirHandle=opendir(Path.c_str());
@ -675,7 +675,7 @@ IFileList* CFileSystem::createFileList()
}
#endif
r->addItem(Path + dirEntry->d_name, size, isDirectory, 0);
r->addItem(Path + dirEntry->d_name, 0, size, isDirectory, 0);
}
closedir(dirHandle);
}
@ -691,10 +691,10 @@ IFileList* CFileSystem::createFileList()
SFileListEntry e3;
//! PWD
r->addItem(Path + ".", 0, true, 0);
r->addItem(Path + ".", 0, 0, true, 0);
//! parent
r->addItem(Path + "..", 0, true, 0);
r->addItem(Path + "..", 0, 0, true, 0);
//! merge archives
for (u32 i=0; i < FileArchives.size(); ++i)