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
|
$height $width
|
||||||
else
|
else
|
||||||
[ $duration -gt 0 ] && duration=$(( $duration - 1 ))
|
[ $duration -gt 0 ] && duration=$(( $duration - 1 ))
|
||||||
[ $duration -gt 1 ] && duration=$(( $duration - 1 ))
|
|
||||||
height=$(( $height + 3 )) # Add height for progress bar
|
height=$(( $height + 3 )) # Add height for progress bar
|
||||||
$DIALOG \
|
$DIALOG \
|
||||||
--title "$DIALOG_TITLE" \
|
--title "$DIALOG_TITLE" \
|
||||||
|
Loading…
Reference in New Issue
Block a user