You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
506 B
22 lines
506 B
forward-ported 6.14 to 6.20 patch from Debian
|
|
|
|
--- tcsh-6.20.00/tw.color.c
|
|
+++ tcsh-6.20.00/tw.color.c
|
|
@@ -382,13 +382,10 @@
|
|
if ((Char)variables[i].variable[0] == (v[0] & CHAR) &&
|
|
(Char)variables[i].variable[1] == (v[1] & CHAR))
|
|
break;
|
|
- if (i < nvariables) {
|
|
- v += 3;
|
|
+ v += 3;
|
|
+ if (i < nvariables)
|
|
getstring(&c, &v, &variables[i].color, ':');
|
|
- continue;
|
|
- }
|
|
- else
|
|
- stderror(ERR_BADCOLORVAR, v[0], v[1]);
|
|
+ continue;
|
|
}
|
|
break;
|
|
}
|