-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bsddialog: Fix widget_maxsize to only take into account window decor
For the height this doesn't matter unless auto_minheight is non-zero, but for the width it does, as it would subtract off the maximum of various things including the text width, which is clearly nonsense here. All we want to do is compute how much space for content there is; what's on other lines doesn't matter. Fixes: 64f7073 ("bsddialog: Optionally truncate long mixedgauge labels and screens")
- Loading branch information
Showing
1 changed file
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters