http-comm
Ondřej Hruška 7 years ago
parent 6e2978492b
commit cd79d5cf25
  1. 4
      user/screen.c

@ -1684,10 +1684,10 @@ screenSerializeToBuffer(char *buffer, size_t buf_len, void **data)
if (repCnt == 0) {
// No repeat
bool changeAttrs = cell0->attrs != ss->lastAttrs;
bool changeAttrs = cell0->attrs != ss->lastAttrs || i==0;
bool changeFg = cell0->fg != ss->lastFg;
bool changeBg = cell0->bg != ss->lastBg;
bool changeColors = changeFg && changeBg;
bool changeColors = (changeFg && changeBg) || i==0;
Color fg, bg;
// Reverse fg and bg if we're in global reverse mode

Loading…
Cancel
Save