Fix display of depressed buttons

* src/xterm.c (x_draw_relief_rect): Fix typo.
This commit is contained in:
Po Lu 2022-05-10 17:38:53 +08:00
parent 773c5c00d2
commit 145727df29

View file

@ -7588,7 +7588,7 @@ x_draw_relief_rect (struct frame *f, int left_x, int top_y, int right_x,
if (top_p && left_p && bot_p && right_p
&& hwidth > 1 && vwidth > 1)
x_draw_rectangle (f, black_gc, left_x, top_y,
right_x - left_x, top_y - bottom_y);
right_x - left_x, bottom_y - top_y);
else
{
if (top_p && hwidth > 1)