nano

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

commit e796a7b5b96fd4700b4d7a8a00dfd2ab15272915
parent 492e501fb331c69d513d36550d6cfdb18d6a7806
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon,  1 Aug 2005 05:54:11 +0000

formatting fixes


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

Diffstat:
Msrc/color.c | 3+--
Msrc/rcfile.c | 6++----
2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/color.c b/src/color.c @@ -98,8 +98,7 @@ void color_init(void) init_pair(tmpcolor->pairnum, foreground, background); #ifdef DEBUG - fprintf(stderr, "init_pair(): fg = %hd, bg = %hd\n", - tmpcolor->fg, tmpcolor->bg); + fprintf(stderr, "init_pair(): fg = %hd, bg = %hd\n", tmpcolor->fg, tmpcolor->bg); #endif } } diff --git a/src/rcfile.c b/src/rcfile.c @@ -110,8 +110,7 @@ void rcfile_error(const char *msg, ...) fprintf(stderr, "\n"); if (lineno > 0) { errors = TRUE; - fprintf(stderr, _("Error in %s on line %lu: "), nanorc, - (unsigned long)lineno); + fprintf(stderr, _("Error in %s on line %lu: "), nanorc, (unsigned long)lineno); } va_start(ap, msg); @@ -724,8 +723,7 @@ void parse_rcfile(FILE *rcstream) if (errors) { errors = FALSE; - fprintf(stderr, - _("\nPress Return to continue starting nano\n")); + fprintf(stderr, _("\nPress Return to continue starting nano\n")); while (getchar() != '\n') ; }