]> git.lyx.org Git - features.git/commitdiff
Amend 15fd17d83fb2
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 10 Mar 2018 13:22:51 +0000 (14:22 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 10 Mar 2018 13:24:38 +0000 (14:24 +0100)
(cherry picked from commit b2ccdae22864ba72675b43d070022ae8fea18238)

src/tex2lyx/Preamble.cpp

index 78293bfad68cc6b2d612178226df56a3d70ed9ba..8565d59df3b7576e5e422550534c50ad8c478604 100644 (file)
@@ -2051,7 +2051,7 @@ void Preamble::parse(Parser & p, string const & forceclass,
                        }
                }
 
-               if (t.cs() == "includeonly") {
+               else if (t.cs() == "includeonly") {
                        vector<string> includeonlys = getVectorFromString(p.getArg('{', '}'));
                        for (auto & iofile : includeonlys) {
                                string filename(normalize_filename(iofile));