From: Juergen Spitzmueller Date: Sun, 11 Mar 2018 18:49:28 +0000 (+0100) Subject: amend 11e4a24e6edbd1f X-Git-Tag: 2.3.1~133^2~36 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bbaf2b6a29fb507e9174ee66919cf2ac40aa8a02;p=features.git amend 11e4a24e6edbd1f (cherry picked from commit 386d9953e83a35dcc3b0f173faa92d9e9fc16f0f) --- diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index e0a5de32d6..1b9d5096f4 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -1585,12 +1585,13 @@ void Preamble::parse(Parser & p, string const & forceclass, continue; } - else if (t.cs() == "date") { + if (t.cs() == "date") { string argument = p.getArg('{', '}'); if (argument.empty()) h_suppress_date = "true"; else h_preamble << t.asInput() << '{' << argument << '}'; + continue; } if (t.cs() == "color") {