1
1

moving: set the preferred column properly when doing a smart home

This fixes http://savannah.gnu.org/bugs/?52042.
Reported-by: Mike Frysinger <vapier@gentoo.org>
Этот коммит содержится в:
David Lawrence Ramsey 2017-09-15 13:38:20 -05:00 коммит произвёл Benno Schulenberg
родитель c8363a0d0b
Коммит 5f70229c7e

Просмотреть файл

@ -420,7 +420,7 @@ void do_home(void)
openfile->current_x = 0;
if (moved_off_chunk)
openfile->placewewant = 0;
openfile->placewewant = xplustabs();
/* If we changed chunk, we might be offscreen. Otherwise,
* update current if the mark is on or we changed "page". */