mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
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:
parent
afcc0e0490
commit
721b269732
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user