summaryrefslogtreecommitdiffstats
path: root/xc
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2005-02-22 20:48:29 +0000
committerPeter Åstrand <astrand@cendio.se>2005-02-22 20:48:29 +0000
commitbe22857a07854eb17490b6e0c3d25a4b4d1585c5 (patch)
treeefa031683ff679c486989806eb9ae6856088923e /xc
parent853287dc7adb96636e71c64707e59adf2a963f8b (diff)
downloadtigervnc-be22857a07854eb17490b6e0c3d25a4b4d1585c5.tar.gz
tigervnc-be22857a07854eb17490b6e0c3d25a4b4d1585c5.zip
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
Diffstat (limited to 'xc')
-rw-r--r--xc/programs/Xserver/vnc/Xvnc/xvnc.cc2
1 files changed, 1 insertions, 1 deletions
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;
}