diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-09-16 18:44:51 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-09-16 18:44:51 +0300 |
commit | c20b4c2de5a8c5ef4ac0655d74dd28c002b7aad3 (patch) | |
tree | d476c56b1149211b946ec552876873152d6b6cb3 /src/w32term.c | |
parent | 005aff709292db4fda0c39e7ed512f064bb7d1a9 (diff) | |
download | emacs-c20b4c2de5a8c5ef4ac0655d74dd28c002b7aad3.tar.gz |
Fix block cursor display in R2L lines.
src/xterm.c (x_draw_stretch_glyph_string):
src/w32term.c (x_draw_stretch_glyph_string): Fix a thinko that
caused the block cursor to disappear on a TAB in R2L lines in
every window except the leftmost one. Reported by Martin Rudalics
<rudalics@gmx.at>.
Diffstat (limited to 'src/w32term.c')
-rw-r--r-- | src/w32term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c index 2781fb63d62..e4813e9e02f 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -2227,7 +2227,7 @@ x_draw_stretch_glyph_string (struct glyph_string *s) { /* In R2L rows, draw the cursor on the right edge of the stretch glyph. */ - int right_x = window_box_right_offset (s->w, TEXT_AREA); + int right_x = window_box_right (s->w, TEXT_AREA); if (x + background_width > right_x) background_width -= x - right_x; |