Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 06:38:03 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r294898 - stable/10/usr.sbin/bsdconfig/share
Message-ID:  <201601270638.u0R6c3ww036576@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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]
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601270638.u0R6c3ww036576>