forked from pool/xorg-x11-server
12 lines
374 B
Diff
12 lines
374 B
Diff
--- cfb/cfbteblt8.c.orig 2006-10-17 12:06:18.000000000 +0200
|
|
+++ cfb/cfbteblt8.c 2006-10-17 12:08:18.000000000 +0200
|
|
@@ -301,7 +301,7 @@
|
|
#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
|
|
|