Skip to content

Commit

Permalink
fragment: render: only include trailing space if there is another fra…
Browse files Browse the repository at this point in the history
…gment
  • Loading branch information
kaniini committed Jan 21, 2023
1 parent dd741e7 commit 648a224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libpkgconf/fragment.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ fragment_render_buf(const pkgconf_list_t *list, char *buf, size_t buflen, bool e
free(quoted);
}

*bptr++ = ' ';
if (node->next != NULL)
*bptr++ = ' ';
}

*bptr = '\0';
Expand Down

0 comments on commit 648a224

Please sign in to comment.