From 7c54f07ca55046c6f9b5859c44781a1f22002982 Mon Sep 17 00:00:00 2001
From: dborth <dborth@gmail.com>
Date: Mon, 3 Apr 2017 09:43:44 -0600
Subject: [PATCH] Issue #141: Set trueColour flag to 1 instead of 255

---
 libvncclient/vncviewer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -161,7 +161,7 @@
   client->format.depth = bitsPerSample*samplesPerPixel;
   client->appData.requestedDepth=client->format.depth;
   client->format.bigEndian = *(char *)&client->endianTest?FALSE:TRUE;
-  client->format.trueColour = TRUE;
+  client->format.trueColour = 1;
 
   if (client->format.bitsPerPixel == 8) {
     client->format.redMax = 7;
