summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.c
diff options
context:
space:
mode:
authorrjohnson <rjohnson@noemail.net>1999-04-20 17:01:25 (GMT)
committerrjohnson <rjohnson@noemail.net>1999-04-20 17:01:25 (GMT)
commit078566d7bb29280120d2cc6fb9f7f78257a0b1a3 (patch)
tree7dcd2a72704aab0513b81c57423036da16fca2c1 /generic/tkScale.c
parent33eca271a0abb91d0acceec29d2a7cc2adcf7a7c (diff)
downloadtk-078566d7bb29280120d2cc6fb9f7f78257a0b1a3.zip
tk-078566d7bb29280120d2cc6fb9f7f78257a0b1a3.tar.gz
tk-078566d7bb29280120d2cc6fb9f7f78257a0b1a3.tar.bz2
Rearranged parens for Tcl style conventions.
FossilOrigin-Name: 78a66cf66e62db00a1162e48fdaf8a4560bd69ca
Diffstat (limited to 'generic/tkScale.c')
-rw-r--r--generic/tkScale.c6
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);
}
}