Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
2294:7f6ba3b32f54 | 2295:046056326041 |
---|---|
2252 // Convert the image | 2252 // Convert the image |
2253 res = dmC64ConvertBMP2Image(&outImage, inC64Image, &optC64Spec); | 2253 res = dmC64ConvertBMP2Image(&outImage, inC64Image, &optC64Spec); |
2254 | 2254 |
2255 if (res != DMERR_OK || outImage == NULL) | 2255 if (res != DMERR_OK || outImage == NULL) |
2256 { | 2256 { |
2257 dmErrorMsg("Error in bitmap to image conversion.\n"); | 2257 dmErrorMsg("Error in bitmap to image conversion: %s\n", |
2258 dmErrorStr(res)); | |
2258 goto exit; | 2259 goto exit; |
2259 } | 2260 } |
2260 | 2261 |
2261 switch (optOutType) | 2262 switch (optOutType) |
2262 { | 2263 { |