]> git.wh0rd.org Git - nano.git/commitdiff
formatting fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 2 Sep 2005 03:08:09 +0000 (03:08 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 2 Sep 2005 03:08:09 +0000 (03:08 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3008 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index 66497c7bdee01475ce8e604b98af00913cf9b76c..cd7b8e96250012e0be6eebfbf140de57b17512c2 100644 (file)
@@ -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. */