From b2ccdae22864ba72675b43d070022ae8fea18238 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 10 Mar 2018 14:22:51 +0100 Subject: [PATCH] Amend 15fd17d83fb2 --- src/tex2lyx/Preamble.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index da09ec1faa..1617ced8a7 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));