From: Chong Yidong Date: Wed, 22 Feb 2012 09:08:36 +0000 (+0800) Subject: * xterm.c (x_draw_image_relief): Fix last fix. X-Git-Tag: emacs-pretest-24.0.94~69 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d3762f78f77dd919a4725a801b5183c92941622;p=emacs.git * xterm.c (x_draw_image_relief): Fix last fix. --- diff --git a/src/xterm.c b/src/xterm.c index 6a5798661fa..ddc5db23414 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2331,8 +2331,8 @@ x_draw_image_relief (struct glyph_string *s) && 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);