(change version)

fixed a subtle spacing issue that sometimes makes some data change irc colors, now all spacing should protect against that.
This commit is contained in:
inxi-svn 2009-03-20 21:13:11 +00:00
parent d58622e6b5
commit 3bb4cf508c

1
inxi
View file

@ -3021,6 +3021,7 @@ print_cpu_data()
IFS="," IFS=","
a_cpu_working=(${A_CPU_DATA[i]}) a_cpu_working=(${A_CPU_DATA[i]})
IFS="$ORIGINAL_IFS" IFS="$ORIGINAL_IFS"
# note: the first iteration will create a first space, for color code separation below
cpu_multi_clock_data="$cpu_multi_clock_data ${C1}($(( i + 1 )))${C2} ${a_cpu_working[1]} MHz${CN}" cpu_multi_clock_data="$cpu_multi_clock_data ${C1}($(( i + 1 )))${C2} ${a_cpu_working[1]} MHz${CN}"
if [[ $i -gt 10 ]];then if [[ $i -gt 10 ]];then
break break