Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2013 00:42:31 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251357 - head/usr.sbin/bsdconfig/share/packages
Message-ID:  <201306040042.r540gVqt049595@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Tue Jun  4 00:42:31 2013
New Revision: 251357
URL: http://svnweb.freebsd.org/changeset/base/251357

Log:
  Fix a code typo (missing `eval') which lead to improperly-sized menu when
  displaying packages (menu was always maximum height). The problem was
  introduced by SVN r251232.

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

Modified: head/usr.sbin/bsdconfig/share/packages/packages.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/packages/packages.subr	Tue Jun  4 00:40:26 2013	(r251356)
+++ head/usr.sbin/bsdconfig/share/packages/packages.subr	Tue Jun  4 00:42:31 2013	(r251357)
@@ -464,7 +464,7 @@ f_package_menu_select()
 	                          "$page" "$npages" )"
 
 	local mheight mwidth mrows
-	f_dialog_menu${SHOW_DESC:+_with_help}_size mheight mwidth mrows \
+	eval f_dialog_menu${SHOW_DESC:+_with_help}_size mheight mwidth mrows \
 	        	\"\$DIALOG_TITLE\" \"\$DIALOG_BACKTITLE\" \
 	        	\"\$prompt\" \"\$hline\" $menu_list
 	local iheight iwidth



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