]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.C
update no.po
[lyx.git] / src / bufferparams.C
index 504e9c9eed88a85ab3481737a061272a12eaf48c..3ccf77567bc15e051102550e737986894c662732 100644 (file)
@@ -81,7 +81,7 @@ void BufferParams::writeFile(ostream & os) const
        // then the the preamble
        if (!preamble.empty()) {
                // remove '\n' from the end of preamble
-               string const tmppreamble = strip(preamble, "\n");
+               string const tmppreamble = rtrim(preamble, "\n");
                os << "\\begin_preamble\n"
                   << tmppreamble
                   << "\n\\end_preamble\n";