commit b2ccdae22864ba72675b43d070022ae8fea18238
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Sat Mar 10 14:22:51 2018 +0100

    Amend 15fd17d83fb2
---
 src/tex2lyx/Preamble.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index da09ec1..1617ced 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<string> includeonlys = 
getVectorFromString(p.getArg('{', '}'));
                        for (auto & iofile : includeonlys) {
                                string filename(normalize_filename(iofile));

Reply via email to