| 999 | INDENT, including the prefix (if any). */ |
| 1000 | |
| 1001 | static void |
| 1002 | put_line (WORD *w, int indent) |
| 1003 | { |
| 1004 | WORD *endline; |
| 1005 | |
| 1006 | out_column = 0; |
| 1007 | put_space (prefix_indent); |
| 1008 | fputs (prefix, stdout); |
| 1009 | out_column += prefix_length; |
| 1010 | put_space (indent - out_column); |
| 1011 | |
| 1012 | endline = w->next_break - 1; |
| 1013 | for (; w != endline; w++) |
| 1014 | { |
| 1015 | put_word (w); |
| 1016 | put_space (w->space); |
| 1017 | } |
| 1018 | put_word (w); |
| 1019 | last_line_length = out_column; |
| 1020 | putchar ('\n'); |
| 1021 | |
| 1022 | if (ferror (stdout)) |
| 1023 | write_error (); |
| 1024 | } |
| 1025 | |
| 1026 | /* Output to stdout the word W. */ |
| 1027 |
no test coverage detected