bug fix, didn't strip out ^ properly

This commit is contained in:
inxi-svn 2014-03-14 02:39:27 +00:00
parent a2f1b02e53
commit 6dfa2422ce

4
inxi
View file

@ -2714,7 +2714,7 @@ print_lines_basic()
line_starter="$line_x_starter"
fi
# clean up forced connections, ie, stuff we don't want wrapping
print_string=${print_string//^/}
print_string=${print_string//\^/ }
print_screen_output "$line_starter$print_string"
print_string="$word$spacer" # needed to handle second word on new line
temp_string=''
@ -2733,7 +2733,7 @@ print_lines_basic()
else
line_starter="$line_x_starter"
fi
print_string=${print_string//^/}
print_string=${print_string//\^/ }
print_screen_output "$line_starter$print_string"
fi
}