]> git.wh0rd.org Git - nano.git/commitdiff
moved '\n' outside of if at bottom of help_init
authorRobert Siemborski <rjs3@andrew.cmu.edu>
Thu, 6 Jul 2000 03:43:05 +0000 (03:43 +0000)
committerRobert Siemborski <rjs3@andrew.cmu.edu>
Thu, 6 Jul 2000 03:43:05 +0000 (03:43 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@76 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

nano.c

diff --git a/nano.c b/nano.c
index 9dfab74ead6a075d98c06a0c7108a152138e27f7..67bf59e60338469d4d052356f9bfcd65e0cc2a5f 100644 (file)
--- a/nano.c
+++ b/nano.c
@@ -1501,9 +1501,10 @@ void help_init(void)
            sofar += snprintf(&buf[sofar], BUFSIZ - sofar, "    ");
 
        if (main_list[i].help != NULL)
-           snprintf(&buf[sofar], BUFSIZ - sofar, "%s\n", main_list[i].help);
+           snprintf(&buf[sofar], BUFSIZ - sofar, "%s", main_list[i].help);
 
        strcat(help_text, buf);
+       strcat(help_text, "\n");
     }
 
 }