mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
fixed small multi card screen res bug, logic for comma placement was slightly wrong
This commit is contained in:
parent
1196043bd7
commit
4b24aefa2c
7
inxi
7
inxi
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.4.21
|
#### version: 1.4.22
|
||||||
#### Date: November 1 2010
|
#### Date: December 10 2010
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -2498,7 +2498,8 @@ get_graphics_res_data()
|
||||||
separator = ""
|
separator = ""
|
||||||
}
|
}
|
||||||
/dimensions/ {
|
/dimensions/ {
|
||||||
screens = screens $2 separator
|
screens = screens separator # first time, this is null, next, has comma last
|
||||||
|
screens = screens $2 # then tack on the new value for nice comma list
|
||||||
separator = ", "
|
separator = ", "
|
||||||
}
|
}
|
||||||
END {
|
END {
|
||||||
|
|
Loading…
Reference in a new issue