Add missing enforcement of height restriction after minor adjustment.
This commit is contained in:
parent
30a8a39e07
commit
802a85b13d
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user