From f1b9ba278162cc6b82f04d766153e5d5a72bec8c Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Tue, 3 May 2016 09:31:59 +0200
Subject: [PATCH] rcfile: make an error message equal to another, and more
 informative

---
 src/rcfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rcfile.c b/src/rcfile.c
index 98c9fb31..d18ab44e 100644
--- a/src/rcfile.c
+++ b/src/rcfile.c
@@ -649,7 +649,7 @@ void parse_colors(char *ptr, int rex_flags)
 	return;
 
     if (*ptr == '\0') {
-	rcfile_error(N_("Missing regex string"));
+	rcfile_error(N_("Missing regex string after '%s' command"), "color");
 	return;
     }
 
-- 
GitLab