From 373bc2fa487dd73f91f047660113bd9889b9bdb2 Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Sun, 24 Mar 2002 23:20:32 +0000
Subject: [PATCH] General - Added separate regex variable (color_regex and
 colormatches) so that color syntax and regex search/replace can coexist

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1141 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 global.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/global.c b/global.c
index ca9f84bb..7739fe8b 100644
--- a/global.c
+++ b/global.c
@@ -125,7 +125,7 @@ regmatch_t regmatches[10];	/* Match positions for parenthetical
 				   subexpressions, max of 10 */
 #ifdef ENABLE_COLOR
 regex_t color_regexp;		/* Global to store compiled search regexp */
-regmatch_t colormatches;	/* Match positions for parenthetical */
+regmatch_t colormatches[1];	/* Match positions for parenthetical */
 #endif /* ENABLE_COLOR */
 
 #endif
-- 
GitLab