wmail: use DA_VERSION to determine the correct type for DAMakePixmapFromData parameters.
This commit is contained in:
		
							parent
							
								
									498c7c8951
								
							
						
					
					
						commit
						fa97374dd0
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -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 ?
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue