nano

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

commit 976847c0166d6b680522fbfd257d045ced72b202
parent 82e603d273b02e642a1823a5fb0b38f59e2840ec
Author: Robert Siemborski <rjs3@andrew.cmu.edu>
Date:   Thu,  6 Jul 2000 03:43:05 +0000

moved '\n' outside of if at bottom of help_init


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

Diffstat:
Mnano.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

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