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>master
parent
c8363a0d0b
commit
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". */
|
||||
|
|
Loading…
Reference in New Issue