Needs to be true colour to be 888.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3720 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/PixelFormat.cxx b/common/rfb/PixelFormat.cxx
index 4221e44..e8cb1a2 100644
--- a/common/rfb/PixelFormat.cxx
+++ b/common/rfb/PixelFormat.cxx
@@ -102,6 +102,8 @@
 
 bool PixelFormat::is888(void) const
 {
+  if (!trueColour)
+    return false;
   if (bpp != 32)
     return false;
   if (depth != 24)