From 145727df29d2e067b062cb44548dd97b076567fa Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 10 May 2022 17:38:53 +0800 Subject: [PATCH] Fix display of depressed buttons * src/xterm.c (x_draw_relief_rect): Fix typo. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 3e5cd45b431..40c80eb1f70 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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) -- 2.39.2