]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 15 Nov 2005 20:32:18 +0000 (20:32 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 15 Nov 2005 20:32:18 +0000 (20:32 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3180 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/search.c

index fe9557d2b86ced04ea066cad6f01b6ca7a6bb376..d87450569fee9001750155fbc2fd5d32421435d0 100644 (file)
@@ -393,8 +393,8 @@ bool findnextstr(bool can_display_wrap, bool wholeword, bool
     /* We've definitely found something. */
     openfile->current = fileptr;
     openfile->current_x = current_x_find;
-    openfile->current_y = current_y_find;
     openfile->placewewant = xplustabs();
+    openfile->current_y = current_y_find;
 
     /* needle_len holds the length of needle. */
     if (needle_len != NULL)