commit dd7555af0e80e5d498d28570ecad239fe8e652a8
Author: Guillaume MM <[email protected]>
Date:   Tue May 2 01:36:23 2017 +0200

    Fix crash with full view source (#10560 and #10617)
---
 src/Buffer.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 58de3b5..b1ed2f5 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -3949,6 +3949,7 @@ unique_ptr<TexRow> Buffer::getSourceCode(odocstream & os, 
string const & format,
                        ots.texrow().newlines(2);
                        if (master)
                                runparams.is_child = true;
+                       updateBuffer();
                        writeLaTeXSource(ots, string(), runparams, output);
                        texrow = ots.releaseTexRow();
                }

Reply via email to