summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-22 16:43:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-22 16:43:28 (GMT)
commit0dc5fc34214057ee46ff58d247f0baa0dc75578a (patch)
treed788ea57115e84899f60a4c333ab031f7063a069 /generic/tkText.c
parenta29fa51c0eacb2e4a9a420da939ca5517383a9b3 (diff)
downloadtk-0dc5fc34214057ee46ff58d247f0baa0dc75578a.zip
tk-0dc5fc34214057ee46ff58d247f0baa0dc75578a.tar.gz
tk-0dc5fc34214057ee46ff58d247f0baa0dc75578a.tar.bz2
applied patch-3476698
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index d4bc065..30d1102 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -2009,6 +2009,7 @@ ConfigureText(
textPtr->sharedTextPtr->undo = textPtr->undo;
textPtr->sharedTextPtr->maxUndo = textPtr->maxUndo;
textPtr->sharedTextPtr->autoSeparators = textPtr->autoSeparators;
+ textPtr->sharedTextPtr->stateEpoch++;
TkUndoSetDepth(textPtr->sharedTextPtr->undoStack,
textPtr->sharedTextPtr->maxUndo);