]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
fix dialogs in LyX/Mac
[lyx.git] / src / buffer.C
index 136065377866753173e44d1c47af27c7d3e4fee9..8dfb8fcd03d90aa8d2092b255836d9fa07633a31 100644 (file)
@@ -792,10 +792,10 @@ bool Buffer::do_writeFile(ostream & ofs) const
            << "\\begin_document\n";
 
        // now write out the buffer parameters.
-       ofs << "\n\\begin_header\n";
+       ofs << "\\begin_header\n";
        params().writeFile(ofs);
        ofs << "\\end_header\n";
-       
+
        // write the text
        ofs << "\n\\begin_body\n";
        text().write(*this, ofs);
@@ -1002,7 +1002,7 @@ bool Buffer::isSGML() const
 
 void Buffer::makeLinuxDocFile(string const & fname,
                              OutputParams const & runparams,
-                              bool body_only)
+                             bool body_only)
 {
        ofstream ofs;
        if (!openFileWrite(ofs, fname))