tiny spacing glitch on -d fixed

This commit is contained in:
inxi-svn 2014-04-02 01:06:17 +00:00
parent b49c7fa48b
commit f75d42d43d

8
inxi
View file

@ -10682,7 +10682,7 @@ print_optical_drive_data()
else
multisession='no'
fi
multisession=" ${C1}multisession$SEP3${C2} $multisession"
multisession="${C1}multisession$SEP3${C2} $multisession "
if [[ -z ${a_drives[11]} ]];then
dvd='N/A'
elif [[ ${a_drives[11]} == 1 ]];then
@ -10696,7 +10696,7 @@ print_optical_drive_data()
else
state="${a_drives[14]}"
fi
state=" ${C1}state$SEP3${C2} $state"
state="${C1}state$SEP3${C2} $state "
fi
if [[ -n ${a_drives[9]} && ${a_drives[9]} == 1 ]];then
rw_support='cd-r'
@ -10717,8 +10717,8 @@ print_optical_drive_data()
if [[ -z $rw_support ]];then
rw_support='none'
fi
drive_data="${C1}Features: speed$SEP3${C2} $speed$multisession "
part_2_data="$audio ${C1}dvd$SEP3${C2} $dvd ${C1}rw$SEP3${C2} $rw_support$state"
drive_data="${C1}Features: speed$SEP3${C2} $speed $multisession"
part_2_data="$audio${C1}dvd$SEP3${C2} $dvd ${C1}rw$SEP3${C2} $rw_support $state"
if [[ $( calculate_line_length "$drive_data$part_2_data" ) -lt $COLS_INNER ]];then
drive_data=$( create_print_line "$Line_Starter" "$drive_data$part_2_data${CN}" )
print_screen_output "$drive_data"