summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2012-01-25 21:33:10 (GMT)
committerfvogel <fvogelnew1@free.fr>2012-01-25 21:33:10 (GMT)
commita79dffd5ead82f09cf96cfb5744ff829e473ebce (patch)
treeccec1cecb5320c1e37d7db1037232fd2b97ba7bb
parentf309ff804398b57a180a79ebaaa297a8343a1c84 (diff)
downloadtk-a79dffd5ead82f09cf96cfb5744ff829e473ebce.zip
tk-a79dffd5ead82f09cf96cfb5744ff829e473ebce.tar.gz
tk-a79dffd5ead82f09cf96cfb5744ff829e473ebce.tar.bz2
Don't increase the epoch twice.
-rw-r--r--ChangeLog4
-rw-r--r--generic/tkText.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c05f99..96daf72 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 76051da..d050170 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -2124,7 +2124,6 @@ ConfigureText(
if (TkTextIndexCmp(&index3, &index2) > 0) {
textPtr->currentMarkPtr = TkTextSetMark(textPtr, "current", &index2);
}
- textPtr->sharedTextPtr->stateEpoch++;
}
/*