(writeline): Correct comments.

From Bruno Haible.
This commit is contained in:
Jim Meyering 2000-08-19 11:07:32 +00:00
parent dde8f61f1c
commit 0dd04df27f

View File

@ -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;