bug in output of opengl renderer, failed to remove extra white spaces after banlist applied

This commit is contained in:
inxi-svn 2011-05-25 22:40:36 +00:00
parent 34edd84e44
commit d913ef930a

1
inxi
View file

@ -3117,6 +3117,7 @@ get_graphics_glx_data()
# Allow all mesas # Allow all mesas
# if ( $2 ~ / r[3-9][0-9][0-9] / ) { # if ( $2 ~ / r[3-9][0-9][0-9] / ) {
gsub(/'"$BAN_LIST_NORMAL"'/, "", $2) gsub(/'"$BAN_LIST_NORMAL"'/, "", $2)
gsub(/ [ \t]+/, " ", $2) # get rid of the created white spaces
a[$2] a[$2]
# this counter failed in one case, a bug, and is not needed now # this counter failed in one case, a bug, and is not needed now
# f++ # f++