From fa97374dd03fb1e8ebd214d6bd7a7f1ae684c557 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Fri, 7 Jun 2019 09:52:19 +0100 Subject: [PATCH] wmail: use DA_VERSION to determine the correct type for DAMakePixmapFromData parameters. --- wmail/src/wmail.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wmail/src/wmail.c b/wmail/src/wmail.c index b0fbc0e..e187cd8 100644 --- a/wmail/src/wmail.c +++ b/wmail/src/wmail.c @@ -335,7 +335,12 @@ static void PreparePixmaps( bool freeMem ) // simple recoloring of the raw xpms befor creating Pixmaps of them // this works as long as you don't "touch" the images... +#if DA_VERSION < 20030126 + unsigned dummy; +#else unsigned short dummy; +#endif + XGCValues values; if( config.symbolColor != NULL ) { // symbol color ?