]> git.lyx.org Git - features.git/commitdiff
BufferParams: Remove superfluous '\n'
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 25 Jun 2012 09:24:04 +0000 (11:24 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 25 Jun 2012 09:28:38 +0000 (11:28 +0200)
This extra '\n' seems to have been an unintended side-effect of d7eaaba9 (Juergen Spitzmueller, "support for CJK font argument"; Jun 5 2008).

src/BufferParams.cpp

index 283ff715efcc9e4e4c3eaf83478164adceeceb69..40ab0dcf34a463752f926282a8ebbc90b2b1c06e 100644 (file)
@@ -997,7 +997,7 @@ void BufferParams::writeFile(ostream & os) const
        if (!fonts_cjk.empty()) {
                os << "\\font_cjk " << fonts_cjk << '\n';
        }
-       os << "\n\\graphics " << graphics_driver << '\n';
+       os << "\\graphics " << graphics_driver << '\n';
        os << "\\default_output_format " << default_output_format << '\n';
        os << "\\output_sync " << output_sync << '\n';
        if (!output_sync_macro.empty())