Commit 20e8e730 authored by dscho's avatar dscho

fix silly hextile bug

parent 03ad9b0b
...@@ -64,7 +64,7 @@ HandleHextileBPP (rfbClient* client, int rx, int ry, int rw, int rh) ...@@ -64,7 +64,7 @@ HandleHextileBPP (rfbClient* client, int rx, int ry, int rw, int rh)
if (!ReadFromRFBServer(client, (char *)&bg, sizeof(bg))) if (!ReadFromRFBServer(client, (char *)&bg, sizeof(bg)))
return FALSE; return FALSE;
FillRectangle(client, x, y, w, h, fg); FillRectangle(client, x, y, w, h, bg);
if (subencoding & rfbHextileForegroundSpecified) if (subencoding & rfbHextileForegroundSpecified)
if (!ReadFromRFBServer(client, (char *)&fg, sizeof(fg))) if (!ReadFromRFBServer(client, (char *)&fg, sizeof(fg)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment