summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorpspjuth <peter.spjuth@gmail.com>2016-08-30 20:01:23 (GMT)
committerpspjuth <peter.spjuth@gmail.com>2016-08-30 20:01:23 (GMT)
commitb237ee23c355f68d92dccd811aa8bfd6f1ceed05 (patch)
treeebb1720403a12bfde763e6def9d22620bbd370c8 /generic/tkText.c
parent6dff0d8b916b2f909061e9ffc615bb908f12d1b8 (diff)
parentbdab09a0d9b8ae500789e11038ce4a96802388ec (diff)
downloadtk-b237ee23c355f68d92dccd811aa8bfd6f1ceed05.zip
tk-b237ee23c355f68d92dccd811aa8bfd6f1ceed05.tar.gz
tk-b237ee23c355f68d92dccd811aa8bfd6f1ceed05.tar.bz2
Made text widget's default undo false again.
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 ea11af1..1227e7b 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;