summaryrefslogtreecommitdiffstats
path: root/Source/cmRegularExpression.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmRegularExpression.cxx')
-rw-r--r--Source/cmRegularExpression.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmRegularExpression.cxx b/Source/cmRegularExpression.cxx
index ce7b57a..35759c4 100644
--- a/Source/cmRegularExpression.cxx
+++ b/Source/cmRegularExpression.cxx
@@ -765,7 +765,7 @@ static void reginsert (char op, char* opnd) {
place = opnd; // Op node, where operand used to be.
*place++ = op;
*place++ = '\0';
- *place++ = '\0';
+ *place = '\0';
}