nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 75689f39017a8aee7f38cbe11a22be2923c4ffff
parent 82b5debb1b3137daf331f2f48f80738cd29481c6
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 10 Nov 2005 06:19:47 +0000

fix still more find_paragraph() breakage


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3148 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/text.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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);