trying to fix that double line output bug

This commit is contained in:
inxi-svn 2011-05-25 22:02:29 +00:00
parent 0cac507903
commit 8fdcc397a6

2
inxi
View file

@ -5537,7 +5537,7 @@ print_gfx_data()
else else
gfx_data="${C1}Card:${C2} Failed to Detect Video Card! " gfx_data="${C1}Card:${C2} Failed to Detect Video Card! "
fi fi
if [[ $( wc -c <<< ${gfx_data}$display_full_string ) -lt $line_max ]];then if [[ -n $gfx_data && $( wc -c <<< ${gfx_data}$display_full_string ) -lt $line_max ]];then
gfx_data=$( create_print_line "$line_starter" "${gfx_data}$display_full_string" ) gfx_data=$( create_print_line "$line_starter" "${gfx_data}$display_full_string" )
else else
gfx_data=$( create_print_line "$line_starter" "$gfx_data" ) gfx_data=$( create_print_line "$line_starter" "$gfx_data" )