From: Uwe Stöhr Date: Thu, 15 May 2008 23:02:53 +0000 (+0000) Subject: tex2lyx/preamble.cpp: cosmetics again X-Git-Tag: 1.6.10~4782 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=001c77d65ba87a5671d87e6fcba7cad8e252d022;p=lyx.git tex2lyx/preamble.cpp: cosmetics again git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24793 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index f41002b932..5eb0353c54 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -572,15 +572,18 @@ void parse_preamble(Parser & p, ostream & os, h_language = "ukrainian"; h_quotes_language = h_language; // paper sides - if ((it = find(opts.begin(), opts.end(), "twoside")) != opts.end()) { + if ((it = find(opts.begin(), opts.end(), "twoside")) + != opts.end()) { h_papersides = "2"; opts.erase(it); } // paper columns - if ((it = find(opts.begin(), opts.end(), "twocolumn")) != opts.end()) { + if ((it = find(opts.begin(), opts.end(), "twocolumn")) + != opts.end()) { h_papercolumns = "2"; opts.erase(it); } + // the remaining options h_options = join(opts, ","); h_textclass = p.getArg('{', '}'); }