Commit bcf09b2e authored by hybrid's avatar hybrid

Filesystem cwd patch for virtual file systems, by IPv6.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2806 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 107fb67d
...@@ -404,7 +404,7 @@ bool CFileSystem::changeWorkingDirectoryTo(const io::path& newDirectory) ...@@ -404,7 +404,7 @@ bool CFileSystem::changeWorkingDirectoryTo(const io::path& newDirectory)
if (FileSystemType != FILESYSTEM_NATIVE) if (FileSystemType != FILESYSTEM_NATIVE)
{ {
WorkingDirectory[FILESYSTEM_VIRTUAL].append(newDirectory); WorkingDirectory[FILESYSTEM_VIRTUAL] = newDirectory;
flattenFilename(WorkingDirectory[FILESYSTEM_VIRTUAL], ""); flattenFilename(WorkingDirectory[FILESYSTEM_VIRTUAL], "");
success = 1; success = 1;
} }
......
Test suite pass at GMT Wed Nov 4 15:18:27 2009 Test suite pass at GMT Wed Nov 4 16:05:32 2009
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