fix silly hextile bug

pull/1/head
dscho 21 years ago
parent 03ad9b0b03
commit 20e8e7302f

@ -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)))

Loading…
Cancel
Save