summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-11-10 02:56:24 (GMT)
committerhobbs <hobbs>1999-11-10 02:56:24 (GMT)
commit8020027ee76699a95ec4005e0c56b22b4a90a022 (patch)
tree1912e07593588a0c5abeb297e8d9e518281969fe /generic/tkEntry.c
parent5489dc1ec2b7f92517a7ab8f4370e82216a1b7f1 (diff)
downloadtk-8020027ee76699a95ec4005e0c56b22b4a90a022.zip
tk-8020027ee76699a95ec4005e0c56b22b4a90a022.tar.gz
tk-8020027ee76699a95ec4005e0c56b22b4a90a022.tar.bz2
* generic/tkGrid.c: changed Tcl_Alloc to ckalloc
* generic/tkEntry.c: fixed C expr error in destroy of entry that could lead to 'malformed bucket chain' error
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r--generic/tkEntry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c
index fd46cb3..8ae1b06 100644
--- a/generic/tkEntry.c
+++ b/generic/tkEntry.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkEntry.c,v 1.5 1999/08/10 05:05:48 jingham Exp $
+ * RCS: @(#) $Id: tkEntry.c,v 1.6 1999/11/10 02:56:24 hobbs Exp $
*/
#include "tkInt.h"
@@ -1946,7 +1946,7 @@ EntryCmdDeletedProc(clientData)
* destroys the widget.
*/
- if (! entryPtr->flags & ENTRY_DELETED) {
+ if (!(entryPtr->flags & ENTRY_DELETED)) {
Tk_DestroyWindow(entryPtr->tkwin);
}
}