diff options
author | fvogel <fvogelnew1@free.fr> | 2012-01-25 21:33:10 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2012-01-25 21:33:10 (GMT) |
commit | a79dffd5ead82f09cf96cfb5744ff829e473ebce (patch) | |
tree | ccec1cecb5320c1e37d7db1037232fd2b97ba7bb | |
parent | f309ff804398b57a180a79ebaaa297a8343a1c84 (diff) | |
download | tk-a79dffd5ead82f09cf96cfb5744ff829e473ebce.zip tk-a79dffd5ead82f09cf96cfb5744ff829e473ebce.tar.gz tk-a79dffd5ead82f09cf96cfb5744ff829e473ebce.tar.bz2 |
Don't increase the epoch twice.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tkText.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -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++; } /* |