summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--generic/tkText.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a594bb..99256f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-01-25 Francois Vogel <fvogelnew1@free.fr>
+ * generic/tkText.c: Don't increase the epoch twice
+
+2012-01-25 Francois Vogel <fvogelnew1@free.fr>
+
* generic/tkText.c: [Bug-1630271]: segfault/infinite loop
* generic/tkTextMark.c: when a mark is before -startline
* tests/textMark.test:
diff --git a/generic/tkText.c b/generic/tkText.c
index 9e14de9..98720d3 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -2136,7 +2136,6 @@ ConfigureText(
if (TkTextIndexCmp(&index3, &index2) > 0) {
textPtr->currentMarkPtr = TkTextSetMark(textPtr, "current", &index2);
}
- textPtr->sharedTextPtr->stateEpoch++;
}
/*