]> git.lyx.org Git - features.git/commitdiff
tex2lyx: Remove superfluous '\n'
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 25 Jun 2012 09:21:27 +0000 (11:21 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 25 Jun 2012 09:26:20 +0000 (11:26 +0200)
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

index 8873d3ff97a08781f1efb5b8ee3d19f0c6533cf1..b40bf8f424dc71d80f9a7b2d3929982b1e28a0a7 100644 (file)
@@ -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";