aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2013-01-04 11:05:33 +0900
committerYAMAMOTO Mitsuharu2013-01-04 11:05:33 +0900
commit4240dd3cef858e4431bb349925c755d793c560b3 (patch)
tree0fc955b3162b59e3d80a439763cc4f10a1386f27 /src/xterm.c
parentf032a318307096c87c4c19928e623e30175d9b1a (diff)
downloademacs-4240dd3cef858e4431bb349925c755d793c560b3.tar.gz
emacs-4240dd3cef858e4431bb349925c755d793c560b3.zip
Don't use previous underline thickness or position if previous underline type is underwave.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 32b19b5cffb..fb407c87611 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2825,7 +2825,8 @@ x_draw_glyph_string (struct glyph_string *s)
2825 unsigned long thickness, position; 2825 unsigned long thickness, position;
2826 int y; 2826 int y;
2827 2827
2828 if (s->prev && s->prev->face->underline_p) 2828 if (s->prev && s->prev->face->underline_p
2829 && s->prev->face->underline_type == FACE_UNDER_LINE)
2829 { 2830 {
2830 /* We use the same underline style as the previous one. */ 2831 /* We use the same underline style as the previous one. */
2831 thickness = s->prev->underline_thickness; 2832 thickness = s->prev->underline_thickness;