]> git.wh0rd.org Git - nano.git/commitdiff
Making an error message equal to others, to reduce the msgid count.
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 14 Mar 2016 16:09:52 +0000 (16:09 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Mon, 14 Mar 2016 16:09:52 +0000 (16:09 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5736 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/rcfile.c

index 09fcc6e91d47780e82684768177866c63f553714..25a36b41b0687c3b2066524dc32bbb7a05474865 100644 (file)
--- 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
index 4fddcb7b326c40c9d9f85aad072b081bc2ba480b..c4ce5757033d7d58120e9cbe27db4aed0910e136 100644 (file)
@@ -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;
     }