- 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
This commit is contained in:
Chris Allegretta 2002-03-26 17:58:42 +00:00
parent f6cba64376
commit d1c2c1ca76
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,8 @@ CVS code -
- search.c:
search_init()
- Fix a missing free (Rocco).
do_gotoline()
- Set placewewant if we actually move to a different line.
- utils.c:
stristr()
- Defined regardless of NANO_SMALL (noticed by Jordi).

View File

@ -844,6 +844,7 @@ int do_gotoline(int line, int save_pos)
else
edit_update(current, CENTER);
placewewant = xplustabs();
goto_abort();
return 1;
}