Fix improper duration for f_dialog_pause() API
MFC after: 3 days X-MFC-to: stable/10
This commit is contained in:
parent
950678b488
commit
7cf0da249a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293617
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user