summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorpspjuth <pspjuth@noemail.net>2016-08-30 19:46:35 (GMT)
committerpspjuth <pspjuth@noemail.net>2016-08-30 19:46:35 (GMT)
commita53635d94c07e610f71185c32320786fddb6b9f8 (patch)
tree87cc0e3475fbad8569ee27b754309c91c32fd713 /generic/tkText.c
parentd9cd0bfd1bd80544ee580215e8df5bf10ce4ae33 (diff)
downloadtk-a53635d94c07e610f71185c32320786fddb6b9f8.zip
tk-a53635d94c07e610f71185c32320786fddb6b9f8.tar.gz
tk-a53635d94c07e610f71185c32320786fddb6b9f8.tar.bz2
Made text widget's default undo false again.
FossilOrigin-Name: c8256e859a6613204f4e0c0e8863088a34dc7d56
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 5ad527a..ab77d99 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -547,7 +547,7 @@ CreateWidget(
Tcl_InitHashTable(&sharedPtr->windowTable, TCL_STRING_KEYS);
Tcl_InitHashTable(&sharedPtr->imageTable, TCL_STRING_KEYS);
sharedPtr->undoStack = TkUndoInitStack(interp,0);
- sharedPtr->undo = 1;
+ sharedPtr->undo = 0;
sharedPtr->isDirty = 0;
sharedPtr->dirtyMode = TK_TEXT_DIRTY_NORMAL;
sharedPtr->autoSeparators = 1;