svn commit: r294898 - stable/10/usr.sbin/bsdconfig/share
Devin Teske
dteske at FreeBSD.org
Wed Jan 27 06:38:04 UTC 2016
Author: dteske
Date: Wed Jan 27 06:38:03 2016
New Revision: 294898
URL: https://svnweb.freebsd.org/changeset/base/294898
Log:
MFC 293617,294669: Minor fixes
r293617: Fix improper duration for f_dialog_pause() API
r294669: Fix a typo in a comment
Modified:
stable/10/usr.sbin/bsdconfig/share/dialog.subr
stable/10/usr.sbin/bsdconfig/share/strings.subr
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/usr.sbin/bsdconfig/share/dialog.subr
==============================================================================
--- stable/10/usr.sbin/bsdconfig/share/dialog.subr Wed Jan 27 06:30:23 2016 (r294897)
+++ stable/10/usr.sbin/bsdconfig/share/dialog.subr Wed Jan 27 06:38:03 2016 (r294898)
@@ -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" \
Modified: stable/10/usr.sbin/bsdconfig/share/strings.subr
==============================================================================
--- stable/10/usr.sbin/bsdconfig/share/strings.subr Wed Jan 27 06:30:23 2016 (r294897)
+++ stable/10/usr.sbin/bsdconfig/share/strings.subr Wed Jan 27 06:38:03 2016 (r294898)
@@ -110,7 +110,7 @@ f_sprintf()
# Example 2:
#
# limit=12 format="%s %s"
-# format_args=" 'doghouse' 'foxhound' "
+# format_args=" 'doghouse' 'fox' "
# # even more spaces added to illustrate escape-method
# f_vsnprintf foo $limit "$format" "$format_args" # foo=[doghouse fox]
#
More information about the svn-src-stable
mailing list