diff options
author | hobbs <hobbs@noemail.net> | 1999-11-10 02:56:24 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 1999-11-10 02:56:24 (GMT) |
commit | 8710beca859dbd1fb6f08f0b72fda9d25aeb5f66 (patch) | |
tree | 1912e07593588a0c5abeb297e8d9e518281969fe /generic/tkEntry.c | |
parent | 124c9f20b40fdde73f85a05216f57d2a14e071aa (diff) | |
download | tk-8710beca859dbd1fb6f08f0b72fda9d25aeb5f66.zip tk-8710beca859dbd1fb6f08f0b72fda9d25aeb5f66.tar.gz tk-8710beca859dbd1fb6f08f0b72fda9d25aeb5f66.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
FossilOrigin-Name: 97bb805341dc4b867e2840d055e30e1efd2fae9d
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r-- | generic/tkEntry.c | 4 |
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); } } |