From: Juergen Spitzmueller Date: Sat, 10 Mar 2018 13:22:51 +0000 (+0100) Subject: Amend 15fd17d83fb2 X-Git-Tag: 2.3.1~133^2~45 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=91ce18388ef3d60573cc6fc155ae5904d0981759;p=features.git Amend 15fd17d83fb2 (cherry picked from commit b2ccdae22864ba72675b43d070022ae8fea18238) --- diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index 78293bfad6..8565d59df3 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -2051,7 +2051,7 @@ void Preamble::parse(Parser & p, string const & forceclass, } } - if (t.cs() == "includeonly") { + else if (t.cs() == "includeonly") { vector includeonlys = getVectorFromString(p.getArg('{', '}')); for (auto & iofile : includeonlys) { string filename(normalize_filename(iofile));