aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/damageext/damageextint.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/damageext/damageextint.h')
-rw-r--r--xorg-server/damageext/damageextint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/damageext/damageextint.h b/xorg-server/damageext/damageextint.h
index 99bc57499..f291f043c 100644
--- a/xorg-server/damageext/damageextint.h
+++ b/xorg-server/damageext/damageextint.h
@@ -62,7 +62,7 @@ typedef struct _DamageExt {
int rc = dixLookupResourceByType((pointer *)&(pDamageExt), rid, \
DamageExtType, client, mode); \
if (rc != Success) \
- return (rc == BadValue) ? DamageErrorBase + BadDamage : rc; \
+ return rc; \
}
void