]> git.wh0rd.org Git - nano.git/commitdiff
General - Added separate regex variable (color_regex and colormatches) so that color...
authorChris Allegretta <chrisa@asty.org>
Sun, 24 Mar 2002 23:20:32 +0000 (23:20 +0000)
committerChris Allegretta <chrisa@asty.org>
Sun, 24 Mar 2002 23:20:32 +0000 (23:20 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1141 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

global.c

index ca9f84bb76c5611c84773f3dd9cb0b8ce2671cfd..7739fe8be85f373471b314f6b881614a1d0fb8a2 100644 (file)
--- 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