summaryrefslogtreecommitdiffstats
path: root/libvncclient/hextile.c
diff options
context:
space:
mode:
authordscho <dscho>2004-06-15 14:16:37 +0000
committerdscho <dscho>2004-06-15 14:16:37 +0000
commit20e8e7302f43b9eff9ae6041e1f76669462d21e6 (patch)
tree66254248202f2ee0f0a3df9dea55263500cbb36b /libvncclient/hextile.c
parent03ad9b0b0376a74455804b58c3cab5456a457922 (diff)
downloadlibtdevnc-20e8e7302f43b9eff9ae6041e1f76669462d21e6.tar.gz
libtdevnc-20e8e7302f43b9eff9ae6041e1f76669462d21e6.zip
fix silly hextile bug
Diffstat (limited to 'libvncclient/hextile.c')
-rw-r--r--libvncclient/hextile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/hextile.c b/libvncclient/hextile.c
index 61402af..6f0d70b 100644
--- a/libvncclient/hextile.c
+++ b/libvncclient/hextile.c
@@ -64,7 +64,7 @@ HandleHextileBPP (rfbClient* client, int rx, int ry, int rw, int rh)
if (!ReadFromRFBServer(client, (char *)&bg, sizeof(bg)))
return FALSE;
- FillRectangle(client, x, y, w, h, fg);
+ FillRectangle(client, x, y, w, h, bg);
if (subencoding & rfbHextileForegroundSpecified)
if (!ReadFromRFBServer(client, (char *)&fg, sizeof(fg)))