emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r107376: * xterm.c (x_draw_image_reli


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107376: * xterm.c (x_draw_image_relief): Fix last fix.
Date: Wed, 22 Feb 2012 17:08:36 +0800
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107376
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Wed 2012-02-22 17:08:36 +0800
message:
  * xterm.c (x_draw_image_relief): Fix last fix.
modified:
  src/xterm.c
=== modified file 'src/xterm.c'
--- a/src/xterm.c       2012-02-22 06:03:30 +0000
+++ b/src/xterm.c       2012-02-22 09:08:36 +0000
@@ -2331,8 +2331,8 @@
          && INTEGERP (XCAR (Vtool_bar_button_margin))
          && INTEGERP (XCDR (Vtool_bar_button_margin)))
        {
-         extra_x = XCAR (Vtool_bar_button_margin);
-         extra_y = XCDR (Vtool_bar_button_margin);
+         extra_x = XINT (XCAR (Vtool_bar_button_margin));
+         extra_y = XINT (XCDR (Vtool_bar_button_margin));
        }
       else if (INTEGERP (Vtool_bar_button_margin))
        extra_x = extra_y = XINT (Vtool_bar_button_margin);


reply via email to

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