summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixScale.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-07-03 06:08:33 (GMT)
committerhobbs <hobbs>2001-07-03 06:08:33 (GMT)
commit7a335a385695f3b78f2d4e843aee9e17f80fd7c8 (patch)
treeda4b368aa960fc99095165df6d55b9382785b2d5 /unix/tkUnixScale.c
parent24e0f655cbf57bccfc229257d8fdf0482daf7779 (diff)
downloadtk-7a335a385695f3b78f2d4e843aee9e17f80fd7c8.zip
tk-7a335a385695f3b78f2d4e843aee9e17f80fd7c8.tar.gz
tk-7a335a385695f3b78f2d4e843aee9e17f80fd7c8.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.c4
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);