From: Vincent van Ravesteijn Date: Mon, 25 Jun 2012 09:21:27 +0000 (+0200) Subject: tex2lyx: Remove superfluous '\n' X-Git-Tag: 2.1.0beta1~1726 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e20238e21f2c9d46b729038c6dfa89240603b386;p=features.git tex2lyx: Remove superfluous '\n' Instead of adding the extra '\n' to tex2lyx, we should remove it from BufferParams.cpp because it was introduced there unintendedly in d7eaaba9 (Juergen Spitzmueller; "support for CJK font argument"; Jun 5 2008). This partly reverts commit c2810f922665c591a7c32d4c679e58e55132505a. --- diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index 8873d3ff97..b40bf8f424 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -985,7 +985,7 @@ bool Preamble::writeLyXHeader(ostream & os, bool subdoc) << "\\font_sc " << h_font_sc << "\n" << "\\font_osf " << h_font_osf << "\n" << "\\font_sf_scale " << h_font_sf_scale << "\n" - << "\\font_tt_scale " << h_font_tt_scale << "\n\n" + << "\\font_tt_scale " << h_font_tt_scale << "\n" << "\\graphics " << h_graphics << "\n" << "\\default_output_format " << h_default_output_format << "\n" << "\\output_sync " << h_output_sync << "\n";