From 75689f39017a8aee7f38cbe11a22be2923c4ffff Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 10 Nov 2005 06:19:47 +0000 Subject: [PATCH] fix still more find_paragraph() breakage git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3148 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/text.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/text.c b/src/text.c index 32d0daf5..85c020a2 100644 --- a/src/text.c +++ b/src/text.c @@ -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);