CMenuWidget::calcSize: Add forgotten 'wi'

Origin commit data
------------------
Commit: d0b02a9752
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-13 (Mon, 13 Mar 2017)
This commit is contained in:
Michael Liebmann
2017-03-13 10:33:32 +01:00
parent e3076746d4
commit a3e6544398

View File

@@ -1116,7 +1116,7 @@ void CMenuWidget::calcSize()
else
wi = 0;
}
int tmpw = items[i]->getWidth() + 2*OFFSET_INNER_MID; /* 10 pixels to the left and right of the text */
int tmpw = items[i]->getWidth() + 2*OFFSET_INNER_MID + wi; /* 10 pixels to the left and right of the text */
if (tmpw > width)
width = tmpw;
}