Skip to content

Commit

Permalink
Fixed spacing in cowsay output
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Oct 27, 2015
1 parent dda8e10 commit bf1a6be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gi.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ static bool consume_cowsay(int *pipefds, pid_t pid, char **argv) {
fputs(argv[1] + 1, pp); // "tfoo" -> "foo"

for (char **words = argv + 2; *words; words++) {
fprintf(pp, "%s ", *words);
fprintf(stderr, "%s \n", *words);
fprintf(pp, " %s", *words);
}

if (fclose(pp) != 0) {
Expand Down

0 comments on commit bf1a6be

Please sign in to comment.