]> git.eshelyaron.com Git - emacs.git/commitdiff
pgtk: Set correct face color for stretched glyphs
authorJeff Walsh <fejfighter@gmail.com>
Fri, 1 Oct 2021 14:28:19 +0000 (00:28 +1000)
committerYuuki Harano <masm+github@masm11.me>
Sun, 14 Nov 2021 13:31:38 +0000 (22:31 +0900)
* src/pgtkterm.c (x_draw_stretch_glyph_string): s/foreground/background
  (Bug#50579)

src/pgtkterm.c

index d81517a5d8ebf2db4ac43d04212507e88c48871b..75386ee6c39ba2a3f1a52d8fa0f89a7e9e87e38d 100644 (file)
@@ -2391,7 +2391,7 @@ x_draw_stretch_glyph_string (struct glyph_string *s)
              color = s->xgcv.foreground;
            }
          else
-           color = s->face->foreground;
+           color = s->face->background;
 
          cairo_t *cr = pgtk_begin_cr_clip (s->f);