Mercurial > hg > dmlib
diff tools/gfxconv.c @ 2295:046056326041
Show error code message when bitmap image conversion fails.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 03 Jul 2019 13:57:42 +0300 |
parents | 9269a32ba7f9 |
children | de570106b6cc |
line wrap: on
line diff
--- a/tools/gfxconv.c Wed Jul 03 10:28:43 2019 +0300 +++ b/tools/gfxconv.c Wed Jul 03 13:57:42 2019 +0300 @@ -2254,7 +2254,8 @@ if (res != DMERR_OK || outImage == NULL) { - dmErrorMsg("Error in bitmap to image conversion.\n"); + dmErrorMsg("Error in bitmap to image conversion: %s\n", + dmErrorStr(res)); goto exit; }