Don't use printf(".."), but fprintf(stdout, "..."),
thus send an end-of-line also when redirected to file.
This commit is contained in:
parent
a5f99a4953
commit
da51e1bddf
|
|
@ -854,7 +854,7 @@ listparam(wordlist *p, dgen *dg)
|
|||
else
|
||||
fprintf(cp_out, "%*.*s", LEFT_WIDTH, LEFT_WIDTH, " ");
|
||||
k = dgen_for_n(dg, count, printvals_old, (plist + i), j);
|
||||
printf("\n");
|
||||
fprintf(cp_out,"\n");
|
||||
j += 1;
|
||||
} while (k > 0);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue