]> git.wh0rd.org Git - nano.git/commitdiff
fix still more find_paragraph() breakage
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 10 Nov 2005 06:19:47 +0000 (06:19 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 10 Nov 2005 06:19:47 +0000 (06:19 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3148 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/text.c

index 32d0daf552e7af35b4b9791983974b4cd099e074..85c020a2f3a68c5168b72979e17abd8c98a1bb0a 100644 (file)
@@ -1101,9 +1101,11 @@ bool find_paragraph(size_t *const quote, size_t *const par)
            par_len++;
     }
     openfile->current = current_save;
-    openfile->current_x = current_x_save;
     openfile->current_y = current_y_save;
 
+    /* Set the current place we want to the current x-coordinate. */
+    openfile->placewewant = xplustabs();
+
     /* Save the values of quote_len and par_len. */
     assert(quote != NULL && par != NULL);