summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXMouseEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXMouseEvent.c')
-rw-r--r--macosx/tkMacOSXMouseEvent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c
index 6a9437c..d59d39b 100644
--- a/macosx/tkMacOSXMouseEvent.c
+++ b/macosx/tkMacOSXMouseEvent.c
@@ -179,11 +179,11 @@ enum {
for (tkwin2 = tkEventWindow;
!Tk_IsTopLevel(tkwin2);
tkwin2 = Tk_Parent(tkwin2)) {
- if (tkwin2 == (Tk_Window) grabWinPtr) {
+ if (tkwin2 == (Tk_Window)grabWinPtr) {
break;
}
}
- if (tkwin2 != (Tk_Window) grabWinPtr) {
+ if (tkwin2 != (Tk_Window)grabWinPtr) {
return theEvent;
}
}
@@ -648,7 +648,7 @@ TkpSetCapture(
winPtr = winPtr->parentPtr;
}
[NSEvent stopPeriodicEvents];
- captureWinPtr = (Tk_Window) winPtr;
+ captureWinPtr = (Tk_Window)winPtr;
}
/*