Commit d1c2c1ca authored by Chris Allegretta's avatar Chris Allegretta
Browse files

- search.c:do_gotoline() - Set placewewant if we actually move to a different line

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1150 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 0 deletions
+3 -0
...@@ -40,6 +40,8 @@ CVS code - ...@@ -40,6 +40,8 @@ CVS code -
- search.c: - search.c:
search_init() search_init()
- Fix a missing free (Rocco). - Fix a missing free (Rocco).
do_gotoline()
- Set placewewant if we actually move to a different line.
- utils.c: - utils.c:
stristr() stristr()
- Defined regardless of NANO_SMALL (noticed by Jordi). - Defined regardless of NANO_SMALL (noticed by Jordi).
......
...@@ -844,6 +844,7 @@ int do_gotoline(int line, int save_pos) ...@@ -844,6 +844,7 @@ int do_gotoline(int line, int save_pos)
else else
edit_update(current, CENTER); edit_update(current, CENTER);
placewewant = xplustabs();
goto_abort(); goto_abort();
return 1; return 1;
} }
......
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