This was not needed, as the case is already adjusted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29823 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2009-05-23 13:13:32 +00:00
parent 3d475e5b44
commit d1ebeea288

View File

@ -329,7 +329,7 @@ Buffer * BufferList::getBufferFromTmp(string const & s)
BufferStorage::iterator it = bstore.begin(); BufferStorage::iterator it = bstore.begin();
BufferStorage::iterator end = bstore.end(); BufferStorage::iterator end = bstore.end();
for (; it < end; ++it) for (; it < end; ++it)
if (os::path_prefix_is(s, (*it)->temppath())) if (prefixIs(s, (*it)->temppath()))
return *it; return *it;
return 0; return 0;
} }