]> git.lyx.org Git - lyx.git/blobdiff - src/ModuleList.cpp
EmbeddedObjects.lyx, Math.lyx, UserGuide.lyx: Spanish translation updates by Ignacio
[lyx.git] / src / ModuleList.cpp
index 547f1f922072a74a4c5c19ed4b84f222bf9de0a1..247ebb5abd4152e3c642614e50dba8c74dfebfc7 100644 (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;