mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 1.4.21
|
||||
#### Date: November 1 2010
|
||||
#### version: 1.4.22
|
||||
#### Date: December 10 2010
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
########################################################################
|
||||
|
@ -2498,7 +2498,8 @@ get_graphics_res_data()
|
|||
separator = ""
|
||||
}
|
||||
/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 = ", "
|
||||
}
|
||||
END {
|
||||
|
|
Loading…
Reference in a new issue