From 20514eca1903e2e9dc65a9df106b7b623bb7839d Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 11 Mar 2019 08:49:47 +0100 Subject: [PATCH] feedback: make two error messages better match the option And keep them identical. --- src/nano.c | 2 +- src/rcfile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nano.c b/src/nano.c index 64694ea8..7c529372 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2139,7 +2139,7 @@ int main(int argc, char **argv) #endif case 'J': if (!parse_num(optarg, &stripe_column) || stripe_column <= 0) { - fprintf(stderr, _("Stripe column \"%s\" is invalid"), optarg); + fprintf(stderr, _("Guide column \"%s\" is invalid"), optarg); fprintf(stderr, "\n"); exit(1); } diff --git a/src/rcfile.c b/src/rcfile.c index 1f1d29b7..4302b1ff 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -1122,7 +1122,7 @@ void parse_rcfile(FILE *rcstream, bool syntax_only) #ifndef NANO_TINY if (strcasecmp(rcopts[i].name, "guidestripe") == 0) { if (!parse_num(option, &stripe_column) || stripe_column <= 0) { - rcfile_error(N_("Edge column \"%s\" is invalid"), option); + rcfile_error(N_("Guide column \"%s\" is invalid"), option); stripe_column = 0; } free(option);