From bb91e606b3ca91997941b6d57507470aaa9ead04 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 25 Apr 2011 22:30:22 +0000 Subject: [PATCH] Forgot this part of r38496. See http://www.mail-archive.com/lyx- for the reason it needs to be here. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38497 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index e4457431dd..9b3e7c77b3 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1346,7 +1346,7 @@ void Buffer::writeLaTeXSource(otexstream & os, // Don't move this behind the parent_buffer=0 code below, // because then the macros will not get the right "redefinition" // flag as they don't see the parent macros which are output before. - updateMacros(); + updateBuffer(); // fold macros if possible, still with parent buffer as the // macros will be put in the prefix anyway. -- 2.39.2