Make some obvious consolidations in local declaration for readability.

This commit is contained in:
Devin Teske 2013-06-02 23:05:01 +00:00
parent 51c41087d1
commit c01472c194
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251270
2 changed files with 3 additions and 5 deletions

View File

@ -93,10 +93,9 @@ usage()
#
# Determine the maximum width of terminal/console
#
local max_size max_width
max_size=$( stty size 2> /dev/null )
local max_size="$( stty size 2> /dev/null )"
: ${max_size:="24 80"}
max_width="${max_size#*[$IFS]}"
local max_width="${max_size#*[$IFS]}"
f_dprintf "max_width=[%s]" "$max_width"
#

View File

@ -142,8 +142,7 @@ f_dialog_menu_netdev()
#
# Ask user to select an interface
#
local prompt
prompt="$msg_select_network_interface"
local prompt="$msg_select_network_interface"
local height width rows
eval f_dialog_menu_size height width rows \
\"\$DIALOG_TITLE\" \