mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-10 10:01:36 +03:00
Ticket #4524: code cleanup before 4.8.32 release.
mcedit: fix losing column position when navigating up/down. Regression from 49bc0ddebfda91ea90d19b286ca1c2198387cf77. Closes MidnightCommander/mc#194. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
7b3c427c85
commit
f3ffb28737
@ -3017,9 +3017,9 @@ edit_move_to_prev_col (WEdit * edit, off_t p)
|
||||
}
|
||||
else
|
||||
{
|
||||
edit->over_col = 0;
|
||||
edit->prev_col = edit->curs_col;
|
||||
edit->curs_col = prev + over;
|
||||
edit->prev_col = edit->curs_col;
|
||||
edit->over_col = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user