X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Fcontext.C;h=12404d9d12711564dbd08203c6a5500425e4223b;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=b87a914d0c15269092da81be102615fbcef35952;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/tex2lyx/context.C b/src/tex2lyx/context.C index b87a914d0c..12404d9d12 100644 --- a/src/tex2lyx/context.C +++ b/src/tex2lyx/context.C @@ -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;