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

    Amend 15fd17d83fb2
    
    (cherry picked from commit b2ccdae22864ba72675b43d070022ae8fea18238)
---
 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 78293bf..8565d59 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