summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das>2006-04-11 05:42:01 (GMT)
committerdas <das>2006-04-11 05:42:01 (GMT)
commit395b185e7d03c18efd681420914e6992a82a2508 (patch)
treec7024c4cddca05014385b47d44ba8069db844617 /macosx
parent5b591cde8c1f5dab94c620646416e88e2d04a6dd (diff)
downloadtk-395b185e7d03c18efd681420914e6992a82a2508.zip
tk-395b185e7d03c18efd681420914e6992a82a2508.tar.gz
tk-395b185e7d03c18efd681420914e6992a82a2508.tar.bz2
typos, whitespace
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXFont.c6
-rw-r--r--macosx/tkMacOSXMouseEvent.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c
index 1d80d18..1f01c3d 100644
--- a/macosx/tkMacOSXFont.c
+++ b/macosx/tkMacOSXFont.c
@@ -35,7 +35,7 @@
* that such fonts can not be used for controls, because controls
* definitely require a family id (this assertion needs testing).
*
- * RCS: @(#) $Id: tkMacOSXFont.c,v 1.15 2006/04/10 20:52:37 cc_benny Exp $
+ * RCS: @(#) $Id: tkMacOSXFont.c,v 1.16 2006/04/11 05:42:02 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -43,7 +43,7 @@
/*
#ifdef TK_MAC_DEBUG
-#define TK_MAC_DEBUG_FONTS 1
+#define TK_MAC_DEBUG_FONTS
#endif
*/
@@ -2237,7 +2237,7 @@ InitFontFamilies(void)
*/
if (familyListNextFree > 0) {
- return;
+ return;
}
err = ATSFontFamilyApplyFunction(FontFamilyEnumCallback,NULL);
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c
index d06e56b..51b33dc 100644
--- a/macosx/tkMacOSXMouseEvent.c
+++ b/macosx/tkMacOSXMouseEvent.c
@@ -54,7 +54,7 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXMouseEvent.c,v 1.20 2006/04/07 06:15:42 das Exp $
+ * RCS: @(#) $Id: tkMacOSXMouseEvent.c,v 1.21 2006/04/11 05:42:01 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -415,7 +415,7 @@ HandleWindowTitlebarMouseDown(MouseEventData * medPtr, Tk_Window tkwin)
case inCollapseBox:
if (TrackBox(medPtr->whichWin, medPtr->global, medPtr->windowPart)) {
if (tkwin) {
- TkpWmSetState((TkWindow *)tkwin, IconicState);;
+ TkpWmSetState((TkWindow *)tkwin, IconicState);
result = 1;
}
}