summaryrefslogtreecommitdiff
path: root/dix/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/gc.c')
-rw-r--r--dix/gc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/gc.c b/dix/gc.c
index 6281f25cd..65d05eb45 100644
--- a/dix/gc.c
+++ b/dix/gc.c
@@ -458,8 +458,6 @@ ChangeGCXIDs(ClientPtr client, GC *pGC, BITS32 mask, CARD32 *pC32)
if (rc != Success)
{
client->errorValue = vals[offset].val;
- if (rc == BadValue)
- rc = (xidfields[i].type == RT_PIXMAP) ? BadPixmap : BadFont;
return rc;
}
}