StorePixels() macro could create invalid *x++=*x... code - fixed.
This commit is contained in:
		
							parent
							
								
									d430e76a16
								
							
						
					
					
						commit
						df979b75c8
					
				| 
						 | 
					@ -301,7 +301,7 @@ typedef unsigned int	*glyphPointer;
 | 
				
			||||||
#define StorePixels(o,p)    dst[o] = p
 | 
					#define StorePixels(o,p)    dst[o] = p
 | 
				
			||||||
#define Loop		    dst += widthDst;
 | 
					#define Loop		    dst += widthDst;
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#define StorePixels(o,p)    *dst++ = (p)
 | 
					#define StorePixels(o,p)    do { *dst = (p); dst++; } while (0)
 | 
				
			||||||
#define Loop		    dst += widthLeft;
 | 
					#define Loop		    dst += widthLeft;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue