svn commit: r249756 - head/usr.sbin/bsdconfig/share

Devin Teske dteske at FreeBSD.org
Mon Apr 22 06:20:35 UTC 2013


Author: dteske
Date: Mon Apr 22 06:20:34 2013
New Revision: 249756
URL: http://svnweb.freebsd.org/changeset/base/249756

Log:
  Fix a copy/paste error.

Modified:
  head/usr.sbin/bsdconfig/share/dialog.subr

Modified: head/usr.sbin/bsdconfig/share/dialog.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/dialog.subr	Mon Apr 22 06:13:30 2013	(r249755)
+++ head/usr.sbin/bsdconfig/share/dialog.subr	Mon Apr 22 06:20:34 2013	(r249756)
@@ -738,8 +738,8 @@ f_dialog_radiolist_size()
 	#
 	local longest_tag=0 longest_item=0
 	while [ $# -ge 2 ]; do
-		local tag="$1" item="$2" help="$3"
-		shift 3 # tag/item/status
+		local tag="$1" item="$2"
+		shift 2 # tag/item
 
 		[ ${#tag} -gt $longest_tag ] && longest_tag=${#tag}
 		[ ${#item} -gt $longest_item ] && longest_item=${#item}


More information about the svn-src-all mailing list