From: Georg Baum Date: Tue, 2 Jan 2007 12:27:26 +0000 (+0000) Subject: merge identical code from if/else branches to a single line X-Git-Tag: 1.6.10~11387 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=58b92422ac36e4f91027d8a82142107b2afc6205;p=features.git merge identical code from if/else branches to a single line git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16466 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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;