]> source.dussan.org Git - tigervnc.git/commitdiff
Corrected last patch; class must be c_class.
authorPeter Åstrand <astrand@cendio.se>
Tue, 22 Feb 2005 20:48:29 +0000 (20:48 +0000)
committerPeter Åstrand <astrand@cendio.se>
Tue, 22 Feb 2005 20:48:29 +0000 (20:48 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@218 3789f03b-4d11-0410-bbf8-ca57d06f2519

xc/programs/Xserver/vnc/Xvnc/xvnc.cc

index 35c62bdd1d49225e173e7f21f72dac5cc8442a4a..bb7cfcc75d4c27278b89df075c677ce78e42080a 100644 (file)
@@ -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;
     }