emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 145727df29: Fix display of depressed buttons


From: Po Lu
Subject: master 145727df29: Fix display of depressed buttons
Date: Tue, 10 May 2022 05:39:16 -0400 (EDT)

branch: master
commit 145727df29d2e067b062cb44548dd97b076567fa
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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 3e5cd45b43..40c80eb1f7 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]