aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fb/fbbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/fb/fbbits.h')
-rw-r--r--xorg-server/fb/fbbits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/fb/fbbits.h b/xorg-server/fb/fbbits.h
index 77e792fd7..80a61ddeb 100644
--- a/xorg-server/fb/fbbits.h
+++ b/xorg-server/fb/fbbits.h
@@ -25,7 +25,7 @@
* underlying datatypes instead of masks
*/
-#define isClipped(c,ul,lr) ((((c) - (ul)) | ((lr) - (c))) & 0x80008000)
+#define isClipped(c,ul,lr) (((c) | ((c) - (ul)) | ((lr) - (c))) & 0x80008000)
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>