diff options
author | das <das> | 2006-08-18 07:30:54 (GMT) |
---|---|---|
committer | das <das> | 2006-08-18 07:30:54 (GMT) |
commit | fa76a9e3ee9d3bafaac22cdb38f8c0080200d58f (patch) | |
tree | beef62a936c697cf0c09d4e4723a5afce9a0385b /macosx | |
parent | c108e306dc02353bce6f4df2e1c62af91cb129ab (diff) | |
download | tk-fa76a9e3ee9d3bafaac22cdb38f8c0080200d58f.zip tk-fa76a9e3ee9d3bafaac22cdb38f8c0080200d58f.tar.gz tk-fa76a9e3ee9d3bafaac22cdb38f8c0080200d58f.tar.bz2 |
sync whitespace with core-8-4-branch
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXButton.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 1555941..c7577f3 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.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: tkMacOSXButton.c,v 1.19 2006/05/26 21:42:37 hobbs Exp $ + * RCS: @(#) $Id: tkMacOSXButton.c,v 1.20 2006/08/18 07:30:54 das Exp $ */ #include "tkMacOSXInt.h" @@ -1049,7 +1049,7 @@ TkMacOSXDrawControl( } UpdateControlColors(mbPtr); - if ((butPtr->type == TYPE_BUTTON) ) { + if (butPtr->type == TYPE_BUTTON) { Boolean isDefault; if (butPtr->defaultState == STATE_ACTIVE) { @@ -1059,7 +1059,7 @@ TkMacOSXDrawControl( } if ((err=SetControlData(mbPtr->control, kControlNoPart, kControlPushButtonDefaultTag, - sizeof(isDefault), (Ptr) &isDefault)) != noErr ) { + sizeof(isDefault), (Ptr) &isDefault)) != noErr) { } } @@ -1071,10 +1071,10 @@ TkMacOSXDrawControl( SetControlVisibility(mbPtr->control, true, true); Draw1Control(mbPtr->userPane); } - + if (mbPtr->params.isBevel) { KillPicture(mbPtr->bevelButtonContent.u.picture); - } + } } /* |