summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarosław Gruca <jgruca1981@gmail.com>2015-03-04 11:44:58 +0000
committerPádraig Brady <P@draigBrady.com>2015-03-04 11:47:59 +0000
commit69410690b8b9838b190c1eaf7d0fa9634e991903 (patch)
tree872f933d985ad18c6370e8ca43c99af4d3767a7c
parente60547db04ff30b9341386837a35ffb15c3c7789 (diff)
downloadcoreutils-69410690b8b9838b190c1eaf7d0fa9634e991903.tar.xz
maint: update stale comment about ls color sequences
* src/ls.c (color_indicator[C_END]): Comment with the correct sequence, which was used since commit v6.10-61-g483297d Fixes http://bugs.gnu.org/19992
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 469852074..19522360a 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -580,7 +580,7 @@ static struct bin_str color_indicator[] =
{
{ LEN_STR_PAIR ("\033[") }, /* lc: Left of color sequence */
{ LEN_STR_PAIR ("m") }, /* rc: Right of color sequence */
- { 0, NULL }, /* ec: End color (replaces lc+no+rc) */
+ { 0, NULL }, /* ec: End color (replaces lc+rs+rc) */
{ LEN_STR_PAIR ("0") }, /* rs: Reset to ordinary colors */
{ 0, NULL }, /* no: Normal */
{ 0, NULL }, /* fi: File: default */