From: David Lawrence Ramsey Date: Fri, 2 Sep 2005 03:08:09 +0000 (+0000) Subject: formatting fix X-Git-Tag: v1.3.9~38 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=be614ec3b4f3d3896a3d6170f84f1ddc199d669c;p=nano.git formatting fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3008 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 66497c7b..cd7b8e96 100644 --- a/src/nano.c +++ b/src/nano.c @@ -221,8 +221,8 @@ partition *partition_filestruct(filestruct *top, size_t top_x, null_at(&bot->data, bot_x); /* Remove all text before top_x at the top of the partition. */ - charmove(top->data, top->data + top_x, strlen(top->data) - top_x + - 1); + charmove(top->data, top->data + top_x, strlen(top->data) - + top_x + 1); align(&top->data); /* Return the partition. */