mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-21 23:53:29 +08:00
(writeline): Correct comments.
From Bruno Haible.
This commit is contained in:
parent
dde8f61f1c
commit
0dd04df27f
@ -108,7 +108,7 @@ writeline (const struct linebuffer *line, FILE *stream, int class)
|
||||
case 2:
|
||||
if (!only_file_2)
|
||||
return;
|
||||
/* Skip the tab stop for case 1, if we are printing case 1. */
|
||||
/* Print a TAB if we printing lines from file 1. */
|
||||
if (only_file_1)
|
||||
putc ('\t', stream);
|
||||
break;
|
||||
@ -116,10 +116,10 @@ writeline (const struct linebuffer *line, FILE *stream, int class)
|
||||
case 3:
|
||||
if (!both)
|
||||
return;
|
||||
/* Skip the tab stop for case 1, if we are printing case 1. */
|
||||
/* Print a TAB if we printing lines from file 1. */
|
||||
if (only_file_1)
|
||||
putc ('\t', stream);
|
||||
/* Skip the tab stop for case 2, if we are printing case 2. */
|
||||
/* Print a TAB if we printing lines from file 2. */
|
||||
if (only_file_2)
|
||||
putc ('\t', stream);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user