diff options
author | das <das> | 2006-08-18 07:30:54 (GMT) |
---|---|---|
committer | das <das> | 2006-08-18 07:30:54 (GMT) |
commit | 5fd4bcf187894f2923bb2b01b8d08f9b47e0544d (patch) | |
tree | beef62a936c697cf0c09d4e4723a5afce9a0385b /macosx/tkMacOSXButton.c | |
parent | 724ecd15e2e8c3ff7886da0971cc5fc81cdec526 (diff) | |
download | tk-5fd4bcf187894f2923bb2b01b8d08f9b47e0544d.zip tk-5fd4bcf187894f2923bb2b01b8d08f9b47e0544d.tar.gz tk-5fd4bcf187894f2923bb2b01b8d08f9b47e0544d.tar.bz2 |
sync whitespace with core-8-4-branch
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-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); - } + } } /* |