StorePixels() macro could create invalid *x++=*x... code - fixed.

This commit is contained in:
Matthias Hopf 2006-10-17 17:06:44 +02:00 committed by Daniel Stone
parent 205c6788d7
commit 5e17cde27b

View File

@ -301,7 +301,7 @@ typedef unsigned int *glyphPointer;
#define StorePixels(o,p) dst[o] = p
#define Loop dst += widthDst;
#else
#define StorePixels(o,p) *dst++ = (p)
#define StorePixels(o,p) do { *dst = (p); dst++; } while (0)
#define Loop dst += widthLeft;
#endif