commit 373bc2fa487dd73f91f047660113bd9889b9bdb2
parent 3533a348fcfe934f1aa492495dee20faa83066ec
Author: Chris Allegretta <chrisa@asty.org>
Date: Sun, 24 Mar 2002 23:20:32 +0000
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
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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