]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.cpp
Move \PassOptionsToPackage before the first package loaded
[lyx.git] / src / LaTeX.cpp
index be9465495417c17b22e5904a0d0ad5e1b7af897c..a34db97de1d759e014a229ac9ce4c6e9111f311b 100644 (file)
@@ -238,7 +238,7 @@ int LaTeX::run(TeXErrors & terr)
                        // Also remove all children which are included
                        Buffer const * buf = theBufferList().getBufferFromTmp(file.absFileName());
                        if (buf && buf->params().maintain_unincluded_children == BufferParams::CM_Mostly) {
-                               for (auto const incfile : buf->params().getIncludedChildren()) {
+                               for (auto const incfile : buf->params().getIncludedChildren()) {
                                        string const incm =
                                                DocFileName(changeExtension(makeAbsPath(incfile, path)
                                                                            .absFileName(), ".tex")).mangledFileName();