wmail: use DA_VERSION to determine the correct type for DAMakePixmapFromData parameters.

This commit is contained in:
Jeremy Sowden 2019-06-07 09:52:19 +01:00 committed by Carlos R. Mafra
parent 498c7c8951
commit fa97374dd0

View file

@ -335,7 +335,12 @@ static void PreparePixmaps( bool freeMem )
// simple recoloring of the raw xpms befor creating Pixmaps of them // simple recoloring of the raw xpms befor creating Pixmaps of them
// this works as long as you don't "touch" the images... // this works as long as you don't "touch" the images...
#if DA_VERSION < 20030126
unsigned dummy;
#else
unsigned short dummy; unsigned short dummy;
#endif
XGCValues values; XGCValues values;
if( config.symbolColor != NULL ) { // symbol color ? if( config.symbolColor != NULL ) { // symbol color ?