1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Add missing enforcement of height restriction after minor adjustment.

This commit is contained in:
Devin Teske 2012-12-29 00:06:26 +00:00
parent 30a8a39e07
commit 802a85b13d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244802

View File

@ -480,6 +480,7 @@ f_xdialog_2inputsbox_size()
# Add height for a second inputbox
height=$(( $height + 2 ))
[ $height -le $max_height ] || height=$max_height
#
# Bump width for second initial text (if not already at maximum width).