mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
code cleanup
This commit is contained in:
parent
281e57bb6f
commit
1639125a17
2
inxi
2
inxi
|
@ -383,7 +383,7 @@ sub set_display_width {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# this lets you set different size for in or out of display server
|
# 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'};
|
$size{'console'}=$size{'no-display'};
|
||||||
}
|
}
|
||||||
# term_cols is set in top globals, using tput cols
|
# term_cols is set in top globals, using tput cols
|
||||||
|
|
Loading…
Reference in a new issue