Mercurial > hg > dmlib
changeset 1526:e0cd0fc8c753
Oops. Actually use the generated filename for writing the output files in here.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 11 May 2018 23:44:53 +0300 |
parents | 9602f7ea1e7e |
children | b4d37b562772 |
files | tools/gfxconv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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",