aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Albinus2017-12-09 10:13:02 +0100
committerMichael Albinus2017-12-09 10:13:02 +0100
commit0667d7a160c8110fb0d29e7c2fa6d0cd2ec02cf0 (patch)
treee09ac5ca843a5bfa6463f0be1dfadd77650e3d46 /src
parent198e0d49d82969d103a520fb1266abba64a26de9 (diff)
parent5381c70b7a9d46fe4de205363b99f761e2475f1f (diff)
downloademacs-0667d7a160c8110fb0d29e7c2fa6d0cd2ec02cf0.tar.gz
emacs-0667d7a160c8110fb0d29e7c2fa6d0cd2ec02cf0.zip
Merge from origin/emacs-26
5381c70b7a In windows.texi mention special splitting behavior of side... 46d62b9f36 * lisp/gnus/gnus-group.el (gnus-group-mode-map): Bind [fol... 1ef1dbdbc5 Avoid compilation warning in xterm.c 5cf3c26f2d * README: Document all the top-level directories. (Bug#29... e9ea2065a8 Don't enable erc modules on simply loading erc.el
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1b45cf1b0b7..e42216886bc 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -3517,13 +3517,13 @@ x_draw_underwave (struct glyph_string *s)
3517 3517
3518 x_get_scale_factor (s->display, &scale_x, &scale_y); 3518 x_get_scale_factor (s->display, &scale_x, &scale_y);
3519 3519
3520 int wave_height = 3 * scale_y, wave_length = 2 * scale_x, thickness = scale_y; 3520 int wave_height = 3 * scale_y, wave_length = 2 * scale_x;
3521 3521
3522#ifdef USE_CAIRO 3522#ifdef USE_CAIRO
3523 x_draw_horizontal_wave (s->f, s->gc, s->x, s->ybase - wave_height + 3, 3523 x_draw_horizontal_wave (s->f, s->gc, s->x, s->ybase - wave_height + 3,
3524 s->width, wave_height, wave_length); 3524 s->width, wave_height, wave_length);
3525#else /* not USE_CAIRO */ 3525#else /* not USE_CAIRO */
3526 int dx, dy, x0, y0, width, x1, y1, x2, y2, xmax; 3526 int dx, dy, x0, y0, width, x1, y1, x2, y2, xmax, thickness = scale_y;;
3527 bool odd; 3527 bool odd;
3528 XRectangle wave_clip, string_clip, final_clip; 3528 XRectangle wave_clip, string_clip, final_clip;
3529 3529