From d09ca0c5afda618e8da64a1d270df6741aefa4a9 Mon Sep 17 00:00:00 2001 From: rjohnson Date: Wed, 14 Oct 1998 00:34:39 +0000 Subject: Add parens around expression in if statement. The code would not compile correctly under some compilers. Also it was not in the Tcl style conventions. --- win/tkWinWm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/win/tkWinWm.c b/win/tkWinWm.c index c1500c4..faac1f8 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -7,11 +7,12 @@ * to the window manager. * * Copyright (c) 1995-1997 Sun Microsystems, Inc. + * Copyright (c) 1998 by Scriptics Corporation. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinWm.c,v 1.4 1998/09/14 18:24:01 stanton Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.5 1998/10/14 00:34:39 rjohnson Exp $ */ #include "tkWinInt.h" @@ -2147,7 +2148,7 @@ Tk_SetGrid(tkwin, reqWidth, reqHeight, widthInc, heightInc) && (wmPtr->widthInc == widthInc) && (wmPtr->heightInc == heightInc) && ((wmPtr->sizeHintsFlags & (PBaseSize|PResizeInc)) - == PBaseSize|PResizeInc)) { + == (PBaseSize|PResizeInc))) { return; } -- cgit v0.12