fixed small multi card screen res bug, logic for comma placement was slightly wrong

This commit is contained in:
inxi-svn 2010-12-10 20:51:31 +00:00
parent 1196043bd7
commit 4b24aefa2c

7
inxi
View file

@ -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 {