Commit 8a85aa0b authored by Chris Allegretta's avatar Chris Allegretta
Browse files

- search.c:do_search(), do_replace_loop() - Fix edit_update call to use CENTER...

- search.c:do_search(), do_replace_loop() - Fix edit_update call to use CENTER instead of current_x (related to David Benbennick's fixes for spelling)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1398 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 5 additions and 2 deletions
+5 -2
......@@ -33,6 +33,9 @@ CVS Code -
window_init()
- Fix leaking *WINDOWs (no pun intended) (David Benbennick).
- search.c:
do_search(), do_replace_loop()
- Fix edit_update call to use CENTER instead of current_x
(related to David Benbennick's fixes for spelling).
do_replace_loop()
- Fix various bugs having to do with replace string length
and positioning (David Benbennick).
......
......@@ -405,7 +405,7 @@ int do_search(void)
statusbar(_("This is the only occurrence"));
else if (current->lineno <= edittop->lineno
|| current->lineno >= editbot->lineno)
edit_update(current, current_x);
edit_update(current, CENTER);
search_abort();
......@@ -575,7 +575,7 @@ int do_replace_loop(const char *prevanswer, const filestruct *begin,
if (current->lineno <= edittop->lineno
|| current->lineno >= editbot->lineno)
edit_update(current, current_x);
edit_update(current, CENTER);
/* No more matches. Done! */
if (fileptr == NULL)
......
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