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
@ -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