]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
Provide proper fallback if a bibliography processor is not found
[lyx.git] / src / output_plaintext.cpp
index 2dfc836f1aceb4906cbc596e532cb63bcbdc65dd..8c5655d39b6e315b7ab85743cbb94f67ae9b5ea5 100644 (file)
@@ -188,7 +188,7 @@ void writePlaintextParagraph(Buffer const & buf,
                if (os.str().size() > max_length)
                        break;
 
-               char_type c = par.getUChar(buf.params(), i);
+               char_type c = par.getUChar(buf.params(), runparams, i);
 
                if (par.isInset(i) || c == ' ') {
                        if (runparams.linelen > 0 &&
@@ -217,7 +217,7 @@ void writePlaintextParagraph(Buffer const & buf,
                switch (c) {
                case ' ':
                        os << ' ';
-                       currlinelen++;
+                       ++currlinelen;
                        break;
 
                case '\0':