]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix display of depressed buttons
authorPo Lu <luangruo@yahoo.com>
Tue, 10 May 2022 09:38:53 +0000 (17:38 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 10 May 2022 09:38:53 +0000 (17:38 +0800)
* src/xterm.c (x_draw_relief_rect): Fix typo.

src/xterm.c

index 3e5cd45b43112e333400843e0ba006b59a498891..40c80eb1f70d50515457581526d964e7fe745cb0 100644 (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)