Mercurial > hg > dmlib
changeset 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 | 7f6ba3b32f54 |
children | 732fa926a5ef |
files | tools/gfxconv.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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; }