mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 16:44:52 +00:00
StorePixels() macro could create invalid *x++=*x... code - fixed.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user