Commit 0f94624f authored by cutealien's avatar cutealien

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
parent d8fbf825
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment