mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-09 04:58:06 +02:00
StorePixels() macro could create invalid *x++=*x... code - fixed.
This commit is contained in:
parent
d430e76a16
commit
df979b75c8
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue