diff options
author | hobbs <hobbs> | 2001-07-03 06:08:33 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-07-03 06:08:33 (GMT) |
commit | ba2c3c4d44a4c135d1e6838d9cff16878ec5c7c0 (patch) | |
tree | da4b368aa960fc99095165df6d55b9382785b2d5 /unix/tkUnixScale.c | |
parent | 219a11405a7f088e8b70dbad3c77ee248aa48a44 (diff) | |
download | tk-ba2c3c4d44a4c135d1e6838d9cff16878ec5c7c0.zip tk-ba2c3c4d44a4c135d1e6838d9cff16878ec5c7c0.tar.gz tk-ba2c3c4d44a4c135d1e6838d9cff16878ec5c7c0.tar.bz2 |
* unix/tkUnixScale.c (TkpDisplayScale): corrected FMR when scale
was deleted while calling its command.
Diffstat (limited to 'unix/tkUnixScale.c')
-rw-r--r-- | unix/tkUnixScale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixScale.c b/unix/tkUnixScale.c index edba2cf..8cda9cc 100644 --- a/unix/tkUnixScale.c +++ b/unix/tkUnixScale.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixScale.c,v 1.6 2000/04/14 08:34:49 hobbs Exp $ + * RCS: @(#) $Id: tkUnixScale.c,v 1.7 2001/07/03 06:08:33 hobbs Exp $ */ #include "tkScale.h" @@ -559,7 +559,7 @@ TkpDisplayScale(clientData) scalePtr->flags &= ~INVOKE_COMMAND; if (scalePtr->flags & SCALE_DELETED) { Tcl_Release((ClientData) scalePtr); - goto done; + return; } Tcl_Release((ClientData) scalePtr); |