]> 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:22:51 +0000 (14:22 +0100)
src/tex2lyx/Preamble.cpp

index da09ec1faa155a2313bde80378f31804b4e59779..1617ced8a76c21193b9e460212d055e3fde07610 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));