]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/context.C
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / tex2lyx / context.C
index b87a914d0c15269092da81be102615fbcef35952..12404d9d12711564dbd08203c6a5500425e4223b 100644 (file)
@@ -137,12 +137,11 @@ void Context::check_layout(ostream & os)
                                             font, normalfont);
                                deeper_paragraph = true;
                        }
-                       need_layout = false;
                } else {
                        // No list-like environment
                        begin_layout(os, layout, font, normalfont);
-                       need_layout=false;
                }
+               need_layout = false;
                need_end_layout = true;
                if (!extra_stuff.empty()) {
                        os << extra_stuff;