Skip to content

Commit

Permalink
quote fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexivkin committed Dec 22, 2021
1 parent e5451c8 commit c14428c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cups-pdf.c
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ int main(int argc, char *argv[]) {
return 5;
}
if (input_is_pdf) {
snprintf(gscall, size, "cp %s %s", spoolfile, outfile);
snprintf(gscall, size, "cp \"%s\" \"%s\"", spoolfile, outfile);
} else {
snprintf(gscall, size, Conf_GSCall, Conf_GhostScript, Conf_PDFVer, outfile, spoolfile);
}
Expand Down

0 comments on commit c14428c

Please sign in to comment.