Make some obvious consolidations in local declaration for readability.

This commit is contained in:
dteske 2013-06-02 23:05:01 +00:00
parent ad505a174d
commit 64cf1a541d
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\" \