]> Git Repo - qemu.git/blobdiff - vnchextile.h
audio/sdlaudio: remove unused variable
[qemu.git] / vnchextile.h
index c96ede3407e7bb85ec8daa8789b6ad375efe1317..78ed8c4e919a8b619d4f587a3fc29e14802cb000 100644 (file)
@@ -73,7 +73,7 @@ static void CONCAT(send_hextile_tile_, NAME)(VncState *vs,
        *last_bg = bg;
     }
 
-    if (!*has_fg || *last_fg != fg) {
+    if (n_colors < 3 && (!*has_fg || *last_fg != fg)) {
        flags |= 0x04;
        *has_fg = 1;
        *last_fg = fg;
This page took 0.024166 seconds and 4 git commands to generate.