search: after search-at-startup, store the column (for vertical movement)

This fixes https://savannah.gnu.org/bugs/?56846.
master
Benno Schulenberg 2019-09-01 16:10:17 +02:00
parent 7d9ad31cd9
commit 15148a5e6d
1 changed files with 1 additions and 0 deletions

View File

@ -2636,6 +2636,7 @@ int main(int argc, char **argv)
not_found_msg(searchstring);
else if (lastmessage == HUSH)
wipe_statusbar();
openfile->placewewant = xplustabs();
if (ISSET(USE_REGEXP))
tidy_up_after_search();
free(last_search);