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)
commit02b4ba2b6ff8e6c4ff4e86281b3295479ec8e93e (patch)
treed788ea57115e84899f60a4c333ab031f7063a069 /generic/tkText.c
parent33a724f6c44c1c2ab31597a064b552f3d49e1fbf (diff)
downloadtk-02b4ba2b6ff8e6c4ff4e86281b3295479ec8e93e.zip
tk-02b4ba2b6ff8e6c4ff4e86281b3295479ec8e93e.tar.gz
tk-02b4ba2b6ff8e6c4ff4e86281b3295479ec8e93e.tar.bz2
applied patch-3476698bug_3475627
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);