Fix crash in CFileSystem::getRelativeFilename
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3771 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
37a6fef54a
commit
30cf180d28
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue