From cce9cfc975d75ba30b0e0427392593c48658626b Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Sat, 21 Jul 2007 05:45:50 +0000 Subject: [PATCH] fix wrong fix r19160. I did not have an extra \end_layout, but missed a \begin_layout git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19163 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_1_5.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/lyx2lyx/lyx_1_5.py b/lib/lyx2lyx/lyx_1_5.py index f594847ce2..f8bcd6e4d2 100644 --- a/lib/lyx2lyx/lyx_1_5.py +++ b/lib/lyx2lyx/lyx_1_5.py @@ -1800,6 +1800,9 @@ after label '', r'\backslash', r'begin{lstlisting}%s' % params, + r'\end_layout', + '', + r'\begin_layout %s' % document.default_layout, ] + document.body[k : j - 1] + \ ['', r'\begin_layout %s' % document.default_layout, -- 2.39.5