Fix silly mistake uncovered by Helge.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23774 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-03-16 15:49:41 +00:00
parent 209a0f13e1
commit bfdb31d076

View File

@ -487,7 +487,7 @@ int InsetInclude::latex(odocstream & os, OutputParams const & runparams) const
string const module = *it;
vector<string>::const_iterator found =
find(masterModules.begin(), masterModules.end(), module);
if (found != masterModules.end()) {
if (found == masterModules.end()) {
docstring text = bformat(_("Included file `%1$s'\n"
"uses module `%2$s'\n"
"which is not used in parent file."),