From 1b9f51519e3a767af1d38b509feeabe6e763ea2e Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 17 Oct 2015 19:53:59 +0200 Subject: [PATCH] Remove confusing parentheses --- src/insets/InsetBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index 2d0cf53c54..21d7feb995 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -163,7 +163,7 @@ void InsetBox::setButtonLabel() if (btype == Boxed) setFrameColor(lcolor.getFromLaTeXName(params_.framecolor)); else - setFrameColor(Color_collapsableframe); + setFrameColor(Color_collapsableframe); } @@ -510,7 +510,7 @@ void InsetBox::latex(otexstream & os, OutputParams const & runparams) const // \framebox and \makebox handle hor_pos their own way // hor_pos is senseless for \mbox and \fbox - if (!(params_.use_makebox) + if (!params_.use_makebox && !(btype == Boxed && !params_.inner_box)) { switch (params_.hor_pos) { case 'l': -- 2.39.2