From: Peter Åstrand Date: Tue, 22 Feb 2005 20:48:29 +0000 (+0000) Subject: Corrected last patch; class must be c_class. X-Git-Tag: v0.0.90~384^2~617 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=be22857a07854eb17490b6e0c3d25a4b4d1585c5;p=tigervnc.git Corrected last patch; class must be c_class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@218 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/xc/programs/Xserver/vnc/Xvnc/xvnc.cc b/xc/programs/Xserver/vnc/Xvnc/xvnc.cc index 35c62bdd..bb7cfcc7 100644 --- a/xc/programs/Xserver/vnc/Xvnc/xvnc.cc +++ b/xc/programs/Xserver/vnc/Xvnc/xvnc.cc @@ -708,7 +708,7 @@ vfbStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) pXWDCmap = vfbScreens[pmap->pScreen->myNum].pXWDCmap; - if ((pmap->pVisual->class | DynamicClass) == DirectColor) + if ((pmap->pVisual->c_class | DynamicClass) == DirectColor) { return; }