Courtesy of the whitespace police.
This commit is contained in:
Jean-Marc Lasgouttes 2015-10-07 11:30:04 +02:00
parent 7a5eff56b0
commit 1514087389

View File

@ -214,9 +214,9 @@ void InsetCollapsable::metrics(MetricsInfo & mi, Dimension & dim) const
case LeftButton:
case ButtonOnly:
if (hasFixedWidth()){
const int mindim=button_dim.x2-button_dim.x1;
if (mi.base.textwidth<mindim)
mi.base.textwidth=mindim;
int const mindim = button_dim.x2 - button_dim.x1;
if (mi.base.textwidth < mindim)
mi.base.textwidth = mindim;
}
dim = dimensionCollapsed(bv);
if (geometry(bv) == TopButton