diff options
author | rjohnson <rjohnson> | 1999-04-20 17:01:26 (GMT) |
---|---|---|
committer | rjohnson <rjohnson> | 1999-04-20 17:01:26 (GMT) |
commit | c97844bb79f675abbe3cbd0065b473739cda1234 (patch) | |
tree | 7dcd2a72704aab0513b81c57423036da16fca2c1 | |
parent | d5c81a12532aea4fb1343a1d670ac06c6b73dcf3 (diff) | |
download | tk-c97844bb79f675abbe3cbd0065b473739cda1234.zip tk-c97844bb79f675abbe3cbd0065b473739cda1234.tar.gz tk-c97844bb79f675abbe3cbd0065b473739cda1234.tar.bz2 |
Rearranged parens for Tcl style conventions.
-rw-r--r-- | generic/tkScale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkScale.c b/generic/tkScale.c index 0710da9..fa4fd34 100644 --- a/generic/tkScale.c +++ b/generic/tkScale.c @@ -18,7 +18,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkScale.c,v 1.6 1999/04/19 18:56:40 rjohnson Exp $ + * RCS: @(#) $Id: tkScale.c,v 1.7 1999/04/20 17:01:26 rjohnson Exp $ */ #include "tkPort.h" @@ -632,8 +632,8 @@ ConfigureScale(interp, scalePtr, objc, objv) name = Tcl_GetString(scalePtr->varNamePtr); valuePtr = Tcl_GetVar2Ex(interp, name, NULL, TCL_GLOBAL_ONLY); if ((valuePtr != NULL) && - (Tcl_GetDoubleFromObj(interp, valuePtr, &value)) - == TCL_OK) { + (Tcl_GetDoubleFromObj(interp, valuePtr, &value) + == TCL_OK)) { scalePtr->value = TkRoundToResolution(scalePtr, value); } } |