diff options
| author | Glenn Morris | 2014-10-17 09:14:37 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-10-17 09:14:37 -0700 |
| commit | 1a1f8804c8eafdd0e20e607ff611a130fc69999f (patch) | |
| tree | 91300893581bfdbebfae14ae7b802faf5ad515bd /src | |
| parent | 5d068609a2ccf2ee0534f2e8c18ad37b9c12748e (diff) | |
| parent | 9b4fdfd9b67aa9e370cd20e0188f08678daa665c (diff) | |
| download | emacs-1a1f8804c8eafdd0e20e607ff611a130fc69999f.tar.gz emacs-1a1f8804c8eafdd0e20e607ff611a130fc69999f.zip | |
Merge from emacs-24; up to 2014-07-28T02:47:29Z!fgallina@gnu.org
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/xterm.c | 3 |
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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-10-16 Eli Zaretskii <eliz@gnu.org> | 8 | 2014-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); |