# HG changeset patch # User Matti Hamalainen # Date 1526005906 -10800 # Node ID 5f9080d24f3cdbe614e4ddd9b994de52a8a60e3d # Parent b329fea6f013c962fe52e26599bf85377e26cebc Set DMC64Image::type in dmC64ImageAlloc() from format type. diff -r b329fea6f013 -r 5f9080d24f3c tools/lib64gfx.c --- a/tools/lib64gfx.c Fri May 11 05:31:16 2018 +0300 +++ b/tools/lib64gfx.c Fri May 11 05:31:46 2018 +0300 @@ -137,6 +137,7 @@ return NULL; // Initialize image information + img->type = fmt->type; img->width = fmt->width; img->height = fmt->height; img->chWidth = fmt->chWidth;