Use the default colour instead if a bad colour specification is given.
This commit is contained in:
parent
c1499cf6cf
commit
0d72516e58
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88584
@ -500,7 +500,7 @@ char *cs;
|
||||
fprintf(stderr,
|
||||
"error: invalid character '%c' in LSCOLORS"
|
||||
" env var\n", c[j]);
|
||||
colors[i].num[j] = defcolors[2*i+j]-'0';
|
||||
colors[i].num[j] = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user