Don't use printf(".."), but fprintf(stdout, "..."),

thus send an end-of-line also when redirected to file.
This commit is contained in:
Holger Vogt 2024-02-28 10:06:31 +01:00
parent a5f99a4953
commit da51e1bddf
1 changed files with 1 additions and 1 deletions

View File

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