diff options
| author | Joakim Verona | 2012-12-04 01:46:34 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-04 01:46:34 +0100 |
| commit | d28fde00abbbf26b7c80700b1c9bc18b5079a30e (patch) | |
| tree | 3bf606901b01f67d6b2eed3998ac6fae9f4518a8 /src/xterm.c | |
| parent | fa8510a9aabe34d367d935b960eab0abbf060e18 (diff) | |
| parent | c38a186c2e06e0a351d166c5ef06d7307e145f45 (diff) | |
| download | emacs-d28fde00abbbf26b7c80700b1c9bc18b5079a30e.tar.gz emacs-d28fde00abbbf26b7c80700b1c9bc18b5079a30e.zip | |
auto upstream
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/xterm.c b/src/xterm.c index 8f7ed8ef561..68d2dd7c70d 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2261,7 +2261,6 @@ static void | |||
| 2261 | x_draw_image_relief (struct glyph_string *s) | 2261 | x_draw_image_relief (struct glyph_string *s) |
| 2262 | { | 2262 | { |
| 2263 | int x1, y1, thick, raised_p, top_p, bot_p, left_p, right_p; | 2263 | int x1, y1, thick, raised_p, top_p, bot_p, left_p, right_p; |
| 2264 | int extra_x, extra_y; | ||
| 2265 | XRectangle r; | 2264 | XRectangle r; |
| 2266 | int x = s->x; | 2265 | int x = s->x; |
| 2267 | int y = s->ybase - image_ascent (s->img, s->face, &s->slice); | 2266 | int y = s->ybase - image_ascent (s->img, s->face, &s->slice); |
| @@ -2292,20 +2291,6 @@ x_draw_image_relief (struct glyph_string *s) | |||
| 2292 | raised_p = s->img->relief > 0; | 2291 | raised_p = s->img->relief > 0; |
| 2293 | } | 2292 | } |
| 2294 | 2293 | ||
| 2295 | extra_x = extra_y = 0; | ||
| 2296 | if (s->face->id == TOOL_BAR_FACE_ID) | ||
| 2297 | { | ||
| 2298 | if (CONSP (Vtool_bar_button_margin) | ||
| 2299 | && INTEGERP (XCAR (Vtool_bar_button_margin)) | ||
| 2300 | && INTEGERP (XCDR (Vtool_bar_button_margin))) | ||
| 2301 | { | ||
| 2302 | extra_x = XINT (XCAR (Vtool_bar_button_margin)); | ||
| 2303 | extra_y = XINT (XCDR (Vtool_bar_button_margin)); | ||
| 2304 | } | ||
| 2305 | else if (INTEGERP (Vtool_bar_button_margin)) | ||
| 2306 | extra_x = extra_y = XINT (Vtool_bar_button_margin); | ||
| 2307 | } | ||
| 2308 | |||
| 2309 | x1 = x + s->slice.width - 1; | 2294 | x1 = x + s->slice.width - 1; |
| 2310 | y1 = y + s->slice.height - 1; | 2295 | y1 = y + s->slice.height - 1; |
| 2311 | top_p = bot_p = left_p = right_p = 0; | 2296 | top_p = bot_p = left_p = right_p = 0; |