]> git.eshelyaron.com Git - emacs.git/commitdiff
; Effect a safer version of that fix for Emacs 29
authorPo Lu <luangruo@yahoo.com>
Sun, 27 Aug 2023 02:22:46 +0000 (10:22 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 27 Aug 2023 02:22:46 +0000 (10:22 +0800)
* src/haikuterm.c (haiku_draw_stretch_glyph_string): Use
computed X value, as on X.

Do not merge to master.

src/haikuterm.c

index 8733b82fb2b7842721e033f1d022673fab7d41a8..d9351d92f4f1ed338fad5ed923efb231a12cd66b 100644 (file)
@@ -1399,7 +1399,7 @@ haiku_draw_stretch_glyph_string (struct glyph_string *s)
        }
 
       if (background_width > 0)
-       haiku_draw_background_rect (s, s->face, s->x, s->y,
+       haiku_draw_background_rect (s, s->face, x, s->y,
                                    background_width, s->height);
     }
   s->background_filled_p = 1;