summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-04-04 10:47:16 +0200
committerChristian Beier <dontmind@freeshell.org>2017-04-04 10:47:16 +0200
commit32301cb73f12d4f7fa78c0ad9a8592aff8c18252 (patch)
tree7ec50db22515bf7448a109ff933cdb359707bf91
parentef971860233a9abfe66533381e82ed094815a83f (diff)
parent652f5a4b1c72a0c9041ec4140d73e66a975206ae (diff)
downloadlibtdevnc-32301cb73f12d4f7fa78c0ad9a8592aff8c18252.tar.gz
libtdevnc-32301cb73f12d4f7fa78c0ad9a8592aff8c18252.zip
Merge branch 'dborth-patch-1'
-rw-r--r--libvncclient/vncviewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index fb25023..780a1cb 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -280,7 +280,7 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
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;