summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 30d1102..6b42489 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -2009,7 +2009,6 @@ 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);
@@ -2099,6 +2098,7 @@ ConfigureText(
textPtr->abortSelections = 1;
}
}
+ textPtr->sharedTextPtr->stateEpoch++;
}
/*