Commit 62c41e4d authored by bitplane's avatar bitplane

Fixed a bug in the mount-point reader where directories were not added to the...

Fixed a bug in the mount-point reader where directories were not added to the list of full file names, causing the list of names and full names to go out of sync. Bug ID 3103053, reported by maragnus



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3590 dfc29bdd-3216-0410-991c-e03cc46cb475
parent e5158f69
...@@ -129,6 +129,8 @@ void CMountPointReader::buildDirectory() ...@@ -129,6 +129,8 @@ void CMountPointReader::buildDirectory()
else else
{ {
const io::path rel = list->getFileName(i); const io::path rel = list->getFileName(i);
RealFileNames.push_back(list->getFullFileName(i));
io::path pwd = Parent->getWorkingDirectory(); io::path pwd = Parent->getWorkingDirectory();
if (pwd.lastChar() != '/') if (pwd.lastChar() != '/')
pwd.append('/'); pwd.append('/');
......
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