mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-08 19:25:51 +00:00
Fix inkscape call
This commit is contained in:
parent
6dced1814f
commit
26478dc220
@ -161,7 +161,7 @@ int main(int argc, char* argv[])
|
|||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
snprintf(command, 2048, " --export-png=\"%s/icon_pack.png\" --export-width=%d --export-height=%d \"%s\"",
|
snprintf(command, 2048, " --export-filename=\"%s/icon_pack.png\" --export-width=%d --export-height=%d \"%s\"",
|
||||||
TMPDIR, i, i, argv[2]);
|
TMPDIR, i, i, argv[2]);
|
||||||
|
|
||||||
STARTUPINFOA sinfo = {sizeof(STARTUPINFOA)};
|
STARTUPINFOA sinfo = {sizeof(STARTUPINFOA)};
|
||||||
@ -179,7 +179,7 @@ int main(int argc, char* argv[])
|
|||||||
CloseHandle(pinfo.hProcess);
|
CloseHandle(pinfo.hProcess);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
snprintf(command, 2048, "%s --export-png=\"%s/icon_pack.png\" --export-width=%d --export-height=%d \"%s\"",
|
snprintf(command, 2048, "%s --export-filename=\"%s/icon_pack.png\" --export-width=%d --export-height=%d \"%s\"",
|
||||||
argv[1], TMPDIR, i, i, argv[2]);
|
argv[1], TMPDIR, i, i, argv[2]);
|
||||||
fp = popen(command, "r");
|
fp = popen(command, "r");
|
||||||
if (!fp)
|
if (!fp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user