aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xterm.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cad37cd432b..889c261f204 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-05-06 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xterm.c (x_draw_image_relief): Move declaration of extra to beginning.
4
12010-05-06 Glenn Morris <rgm@gnu.org> 52010-05-06 Glenn Morris <rgm@gnu.org>
2 6
3 * Makefile.in (CPP, LN_S): Remove unused variables. 7 * Makefile.in (CPP, LN_S): Remove unused variables.
diff --git a/src/xterm.c b/src/xterm.c
index ec550100cea..f867632f22f 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2291,7 +2291,7 @@ static void
2291x_draw_image_relief (s) 2291x_draw_image_relief (s)
2292 struct glyph_string *s; 2292 struct glyph_string *s;
2293{ 2293{
2294 int x0, y0, x1, y1, thick, raised_p; 2294 int x0, y0, x1, y1, thick, raised_p, extra;
2295 XRectangle r; 2295 XRectangle r;
2296 int x = s->x; 2296 int x = s->x;
2297 int y = s->ybase - image_ascent (s->img, s->face, &s->slice); 2297 int y = s->ybase - image_ascent (s->img, s->face, &s->slice);
@@ -2322,7 +2322,7 @@ x_draw_image_relief (s)
2322 raised_p = s->img->relief > 0; 2322 raised_p = s->img->relief > 0;
2323 } 2323 }
2324 2324
2325 int extra = s->face->id == TOOL_BAR_FACE_ID 2325 extra = s->face->id == TOOL_BAR_FACE_ID
2326 ? XINT (Vtool_bar_button_margin) : 0; 2326 ? XINT (Vtool_bar_button_margin) : 0;
2327 2327
2328 x0 = x - thick - extra; 2328 x0 = x - thick - extra;