From 727f4b2ee822cef677ff8433b91ac7c2eb0eaf67 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 4 Nov 2008 14:37:53 +0000 Subject: [PATCH] Thinko. Fixes bug reported by Philippe Charpentier. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27246 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ModuleList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index 547f1f9220..247ebb5abd 100644 --- a/src/ModuleList.cpp +++ b/src/ModuleList.cpp @@ -77,7 +77,7 @@ bool LyXModule::isCompatible(string const & modName) const // does it exclude us? vector 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; -- 2.39.2