Commit 5f70229c authored by David Lawrence Ramsey's avatar David Lawrence Ramsey Committed by Benno Schulenberg
Browse files

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

This fixes http://savannah.gnu.org/bugs/?52042

.
Reported-by: default avatarMike Frysinger <vapier@gentoo.org>
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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". */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment