Fix improper duration for f_dialog_pause() API

MFC after:	3 days
X-MFC-to:	stable/10
This commit is contained in:
Devin Teske 2016-01-09 23:13:43 +00:00
parent 950678b488
commit 7cf0da249a

View File

@ -1605,7 +1605,6 @@ f_dialog_pause()
$height $width
else
[ $duration -gt 0 ] && duration=$(( $duration - 1 ))
[ $duration -gt 1 ] && duration=$(( $duration - 1 ))
height=$(( $height + 3 )) # Add height for progress bar
$DIALOG \
--title "$DIALOG_TITLE" \