Commit e796a7b5 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

formatting fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2964 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 6 deletions
+3 -6
...@@ -98,8 +98,7 @@ void color_init(void) ...@@ -98,8 +98,7 @@ void color_init(void)
init_pair(tmpcolor->pairnum, foreground, background); init_pair(tmpcolor->pairnum, foreground, background);
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "init_pair(): fg = %hd, bg = %hd\n", fprintf(stderr, "init_pair(): fg = %hd, bg = %hd\n", tmpcolor->fg, tmpcolor->bg);
tmpcolor->fg, tmpcolor->bg);
#endif #endif
} }
} }
......
...@@ -110,8 +110,7 @@ void rcfile_error(const char *msg, ...) ...@@ -110,8 +110,7 @@ void rcfile_error(const char *msg, ...)
fprintf(stderr, "\n"); fprintf(stderr, "\n");
if (lineno > 0) { if (lineno > 0) {
errors = TRUE; errors = TRUE;
fprintf(stderr, _("Error in %s on line %lu: "), nanorc, fprintf(stderr, _("Error in %s on line %lu: "), nanorc, (unsigned long)lineno);
(unsigned long)lineno);
} }
va_start(ap, msg); va_start(ap, msg);
...@@ -724,8 +723,7 @@ void parse_rcfile(FILE *rcstream) ...@@ -724,8 +723,7 @@ void parse_rcfile(FILE *rcstream)
if (errors) { if (errors) {
errors = FALSE; errors = FALSE;
fprintf(stderr, fprintf(stderr, _("\nPress Return to continue starting nano\n"));
_("\nPress Return to continue starting nano\n"));
while (getchar() != '\n') while (getchar() != '\n')
; ;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment