nano

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

commit 707081200460947ccc467f4e43c845414a651ec8
parent 43040220bf3b0cb2ef0c0f0541d36b89b8f6ce67
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Mon, 14 Mar 2016 16:09:52 +0000

Making an error message equal to others, to reduce the msgid count.


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

Diffstat:
MChangeLog | 1+
Msrc/rcfile.c | 3++-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,6 @@ 2016-03-14 Benno Schulenberg <bensberg@justemail.net> * src/color.c (color_update): Don't dereference a possible NULL. + * src/rcfile.c (parse_colors): Make error message equal to others. 2016-03-13 Benno Schulenberg <bensberg@justemail.net> * src/search.c (regexp_init): Allow using the word boundary markers diff --git a/src/rcfile.c b/src/rcfile.c @@ -634,7 +634,8 @@ void parse_colors(char *ptr, int rex_flags) if (!opensyntax) { rcfile_error( - N_("Cannot add a color command without a syntax command")); + N_("A '%s' command requires a preceding 'syntax' command"), + "color"); return; }