From fdf19be59f62ca97ed87a3ab46969040d8182afd Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 3 Jul 2001 06:08:33 +0000 Subject: * unix/tkUnixScale.c (TkpDisplayScale): corrected FMR when scale was deleted while calling its command. --- unix/tkUnixScale.c | 4 ++-- 1 file 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); -- cgit v0.12