fragment: render: only include trailing space if there is another fragment

pull/249/head
Ariadne Conill 2023-01-21 20:17:33 +00:00
parent dd741e722f
commit 648a2249fc
1 changed files with 2 additions and 1 deletions

View File

@ -531,7 +531,8 @@ fragment_render_buf(const pkgconf_list_t *list, char *buf, size_t buflen, bool e
free(quoted); free(quoted);
} }
*bptr++ = ' '; if (node->next != NULL)
*bptr++ = ' ';
} }
*bptr = '\0'; *bptr = '\0';