aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2015-02-16 20:23:27 +0900
committerYAMAMOTO Mitsuharu2015-02-16 20:23:27 +0900
commit016b9ec0c84124bc7754014c447fb08ae2f2df47 (patch)
tree8d2e80104cbca33cec16f2c9fe7eb3f4fa1a6003 /src
parent6bff750e172b5c3cfd856c9bcf2e06d44f1ccb61 (diff)
downloademacs-016b9ec0c84124bc7754014c447fb08ae2f2df47.tar.gz
emacs-016b9ec0c84124bc7754014c447fb08ae2f2df47.zip
* xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/xterm.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index da824826b0c..052bf6985c0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -24,6 +24,7 @@
24 (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead 24 (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead
25 of XSetClipMask. 25 of XSetClipMask.
26 (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. 26 (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
27 (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
27 28
282015-02-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 292015-02-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
29 30
diff --git a/src/xterm.c b/src/xterm.c
index 8418dfaf431..c1970cc4334 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -820,7 +820,6 @@ x_fill_trapezoid_for_relief (struct frame *f, GC gc, int x, int y,
820 cairo_line_to (cr, x, y + height); 820 cairo_line_to (cr, x, y + height);
821 cairo_line_to (cr, top_p ? x + width - height : x + width, y + height); 821 cairo_line_to (cr, top_p ? x + width - height : x + width, y + height);
822 cairo_line_to (cr, x + width, y); 822 cairo_line_to (cr, x + width, y);
823 cairo_close_path (cr);
824 cairo_fill (cr); 823 cairo_fill (cr);
825 x_end_cr_clip (f); 824 x_end_cr_clip (f);
826} 825}