# HG changeset patch # User Matti Hamalainen # Date 1526071493 -10800 # Node ID e0cd0fc8c7536abf082686bfe360841ace0769ce # Parent 9602f7ea1e7e40e862d6cd2960897c72a2df195b Oops. Actually use the generated filename for writing the output files in here. diff -r 9602f7ea1e7e -r e0cd0fc8c753 tools/gfxconv.c --- a/tools/gfxconv.c Fri May 11 23:44:27 2018 +0300 +++ b/tools/gfxconv.c Fri May 11 23:44:53 2018 +0300 @@ -1540,7 +1540,7 @@ goto error; } - ret = dmWriteImage(optOutFilename, outImage, &optSpec, optOutSubFormat, TRUE); + ret = dmWriteImage(outFilename, outImage, &optSpec, optOutSubFormat, TRUE); if (ret != DMERR_OK) { dmErrorMsg("Error writing output image '%s': %s.\n",