[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/pgtk 11e4fd1 2/2: pgtk: Set correct face color for stretched gly
From: |
Yuuki Harano |
Subject: |
feature/pgtk 11e4fd1 2/2: pgtk: Set correct face color for stretched glyphs |
Date: |
Sun, 14 Nov 2021 08:41:41 -0500 (EST) |
branch: feature/pgtk
commit 11e4fd11bd6ef69e430a624910e990e9535c44d5
Author: Jeff Walsh <fejfighter@gmail.com>
Commit: Yuuki Harano <masm+github@masm11.me>
pgtk: Set correct face color for stretched glyphs
* src/pgtkterm.c (x_draw_stretch_glyph_string): s/foreground/background
(Bug#50579)
---
src/pgtkterm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index d81517a..75386ee 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -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);