From e6bbee8fe41db801d1d66c3b5e4ed00f3fd7fa13 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 1 Mar 2005 23:36:34 +0000 Subject: [PATCH] formatting fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2333 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index 6f455296..52ba8a92 100644 --- a/src/nano.c +++ b/src/nano.c @@ -3096,7 +3096,8 @@ void do_justify(bool full_justify) size_t prev_line_len = strlen(current->prev->data); if (par_len > 1) { - current->prev->data = charealloc(current->prev->data, + current->prev->data = + charealloc(current->prev->data, prev_line_len + 2); current->prev->data[prev_line_len] = ' '; current->prev->data[prev_line_len + 1] = '\0'; -- 2.39.5