# HG changeset patch # User Matti Hamalainen # Date 1562151462 -10800 # Node ID 046056326041b35cb0637635c4f26da4b7271e61 # Parent 7f6ba3b32f546d542c498e434f2b71b6f8185e14 Show error code message when bitmap image conversion fails. diff -r 7f6ba3b32f54 -r 046056326041 tools/gfxconv.c --- 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; }