aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/xterm.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index af53b77a622..a5c68d77bb1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12014-10-17 Eli Zaretskii <eliz@gnu.org>
2
3 * xterm.c (x_draw_hollow_cursor): Fix display of hollow cursor on
4 1-pixel R2L characters.
5 Reported by Dmitry Antipov <dmantipov@yandex.ru>, see
6 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00518.html.
7
12014-10-16 Eli Zaretskii <eliz@gnu.org> 82014-10-16 Eli Zaretskii <eliz@gnu.org>
2 9
3 * bidi.c (bidi_find_bracket_pairs): Avoid a loop that does nothing 10 * bidi.c (bidi_find_bracket_pairs): Avoid a loop that does nothing
diff --git a/src/xterm.c b/src/xterm.c
index f32aea031f9..334eafcd3fe 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7984,7 +7984,8 @@ x_draw_hollow_cursor (struct window *w, struct glyph_row *row)
7984 && cursor_glyph->pixel_width > w->phys_cursor_width) 7984 && cursor_glyph->pixel_width > w->phys_cursor_width)
7985 { 7985 {
7986 x += cursor_glyph->pixel_width - w->phys_cursor_width; 7986 x += cursor_glyph->pixel_width - w->phys_cursor_width;
7987 wd -= 1; 7987 if (wd > 0)
7988 wd -= 1;
7988 } 7989 }
7989 /* Set clipping, draw the rectangle, and reset clipping again. */ 7990 /* Set clipping, draw the rectangle, and reset clipping again. */
7990 x_clip_to_row (w, row, TEXT_AREA, gc); 7991 x_clip_to_row (w, row, TEXT_AREA, gc);