summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/RegularExpression.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/RegularExpression.cxx')
-rw-r--r--Source/kwsys/RegularExpression.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/RegularExpression.cxx b/Source/kwsys/RegularExpression.cxx
index 451237c..22e8e55 100644
--- a/Source/kwsys/RegularExpression.cxx
+++ b/Source/kwsys/RegularExpression.cxx
@@ -769,7 +769,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';
}