summaryrefslogtreecommitdiffstats
path: root/Modules/pcremodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/pcremodule.c')
-rw-r--r--Modules/pcremodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c
index 2587fa0..c1a1523 100644
--- a/Modules/pcremodule.c
+++ b/Modules/pcremodule.c
@@ -231,7 +231,7 @@ PyPcre_compile(self, args)
newpattern[j++]='\0';
newpattern[j++]='\0';
newpattern[j++]='\0';
- newpattern[j]='\0';
+ newpattern[j]='\0';
rv->regex = pcre_compile((char*)newpattern, options,
&error, &erroroffset, dictionary);