The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit e6afdf1b2b1f707a69ac5b2ddb9056443b0a89b4
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Oct 5 18:28:38 2012 +0200

    Prevent the PreviewLoader from orphaning children

diff --git a/src/graphics/PreviewLoader.cpp b/src/graphics/PreviewLoader.cpp
index 6185681..433082b 100644
--- a/src/graphics/PreviewLoader.cpp
+++ b/src/graphics/PreviewLoader.cpp
@@ -716,6 +716,8 @@ void PreviewLoader::Impl::dumpPreamble(otexstream & os) 
const
        runparams.nice = true;
        runparams.moving_arg = true;
        runparams.free_spacing = true;
+       if (buffer_.parent())
+               runparams.is_child = true;
        buffer_.writeLaTeXSource(os, buffer_.filePath(), runparams, 
Buffer::OnlyPreamble);
 
        // FIXME! This is a HACK! The proper fix is to control the 'true'

-----------------------------------------------------------------------

Summary of changes:
 src/graphics/PreviewLoader.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to