diff options
| author | Andreas Schwab | 1999-05-10 12:53:07 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1999-05-10 12:53:07 +0000 |
| commit | daa3df262c9aa0c4e2601183f441479df418269b (patch) | |
| tree | b75a28ffa256d60d477354a29332e73c2bd5a567 /src | |
| parent | 657cca97bef9100cef54e04ef6feec46ade2fcfd (diff) | |
| download | emacs-daa3df262c9aa0c4e2601183f441479df418269b.tar.gz emacs-daa3df262c9aa0c4e2601183f441479df418269b.zip | |
(try_window_id): Fix computation of tab_offset when
backing up over a character that is splitted across lines.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 57feb78a1bf..b401f59de27 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2708,7 +2708,7 @@ try_window_id (window) | |||
| 2708 | if (bp.contin && bp.hpos != lmargin) | 2708 | if (bp.contin && bp.hpos != lmargin) |
| 2709 | { | 2709 | { |
| 2710 | val.hpos = bp.prevhpos - width + lmargin; | 2710 | val.hpos = bp.prevhpos - width + lmargin; |
| 2711 | val.tab_offset = bp.tab_offset + bp.prevhpos - width; | 2711 | val.tab_offset = bp.tab_offset + width - bp.prevhpos; |
| 2712 | did_motion = 1; | 2712 | did_motion = 1; |
| 2713 | DEC_BOTH (pos, pos_byte); | 2713 | DEC_BOTH (pos, pos_byte); |
| 2714 | } | 2714 | } |