Commit 30cf180d authored by cutealien's avatar cutealien

Fix crash in CFileSystem::getRelativeFilename

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3771 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 37a6fef5
......@@ -709,7 +709,7 @@ path CFileSystem::getRelativeFilename(const path& filename, const path& director
core::list<io::path>::ConstIterator it1,it2;
it1=list1.begin();
it2=list2.begin();
for (; i<list1.size() && (*it1==*it2); ++i)
for (; i<list1.size() && i<list2.size() && (*it1==*it2); ++i)
{
++it1;
++it2;
......
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