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

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).