code cleanup

This commit is contained in:
Harald Hope 2018-10-14 19:13:25 -07:00
parent 281e57bb6f
commit 1639125a17

2
inxi
View file

@ -383,7 +383,7 @@ sub set_display_width {
}
}
# this lets you set different size for in or out of display server
if ( ! $b_running_in_display && $size{'no-display'} != 0 ){
if ( ! $b_running_in_display && $size{'no-display'} ){
$size{'console'}=$size{'no-display'};
}
# term_cols is set in top globals, using tput cols