]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/pgtkterm.c (pgtk_draw_rectangle): Fix trivial typo. (bug#53677)
authorPo Lu <luangruo@yahoo.com>
Tue, 1 Feb 2022 12:15:37 +0000 (20:15 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 1 Feb 2022 12:15:37 +0000 (20:15 +0800)
src/pgtkterm.c

index c0b76b077ca4bb968f2e4f907b1942cea45d84d2..d0a2980bc1b732f8d2e8b99cefe8e69c32adbf7d 100644 (file)
@@ -1334,8 +1334,8 @@ pgtk_draw_rectangle (struct frame *f, unsigned long color, int x, int y,
   cairo_t *cr;
 
   cr = pgtk_begin_cr_clip (f);
-  pgtk_set_cr_source_with_color (f, color, true);
-  cairo_rectangle (cr, x + 0.5, y + 0.5, width, respect_alpha_background);
+  pgtk_set_cr_source_with_color (f, color, respect_alpha_background);
+  cairo_rectangle (cr, x + 0.5, y + 0.5, width, height);
   cairo_set_line_width (cr, 1);
   cairo_stroke (cr);
   pgtk_end_cr_clip (f);