From e20238e21f2c9d46b729038c6dfa89240603b386 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Mon, 25 Jun 2012 11:21:27 +0200 Subject: [PATCH] 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. --- src/tex2lyx/Preamble.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.2