Another one for Abdel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26999 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-10-20 20:45:47 +00:00
parent afcc0e0490
commit 721b269732

View File

@ -1626,15 +1626,15 @@ bool BufferParams::moduleCanBeAdded(string const & modName) const
mit = getModules().begin(); // reset
vector<string>::const_iterator rit = reqs.begin();
vector<string>::const_iterator ren = reqs.end();
bool foundOne = false;
bool foundone = false;
for (; rit != ren; ++rit) {
if (find(mit, men, *rit) != men) {
foundOne = true;
foundone = true;
break;
}
}
return foundOne;
return foundone;
}