Thinko. Fixes bug reported by Philippe Charpentier.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27246 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-11-04 14:37:53 +00:00
parent 9d2f8a4c34
commit 727f4b2ee8

View File

@ -77,7 +77,7 @@ bool LyXModule::isCompatible(string const & modName) const
// does it exclude us?
vector<string> const excMods = lm->getExcludedModules();
if (find(excMods.begin(), excMods.end(), name) != excMods.end())
if (find(excMods.begin(), excMods.end(), id) != excMods.end())
return false;
return true;