diff options
author | fvogel <fvogelnew1@free.fr> | 2019-03-14 20:59:55 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-03-14 20:59:55 (GMT) |
commit | 804f3a603296dff36b4c678e180edb2ca69f6eb3 (patch) | |
tree | 9b6ef8549764d3d83dcd57ac49857217fb8faa31 /macosx | |
parent | 4e356bee29f77e86babcc504bb647ff078d55c3e (diff) | |
download | tk-804f3a603296dff36b4c678e180edb2ca69f6eb3.zip tk-804f3a603296dff36b4c678e180edb2ca69f6eb3.tar.gz tk-804f3a603296dff36b4c678e180edb2ca69f6eb3.tar.bz2 |
Fix typo
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXMouseEvent.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c index 38adc8c..9a1988d 100644 --- a/macosx/tkMacOSXMouseEvent.c +++ b/macosx/tkMacOSXMouseEvent.c @@ -94,7 +94,7 @@ enum { * Compute the mouse position in Tk screen coordinates (global) and in * the Tk coordinates of its containing Tk Window. */ - + NSPoint global, local = [theEvent locationInWindow]; /* @@ -106,7 +106,7 @@ enum { eventWindow == _windowWithMouse; } if (eventWindow) { - + /* * Set the local mouse position to its NSWindow flipped coordinates, * with the origin at top left, and the global mouse position to the @@ -120,7 +120,7 @@ enum { } else { /* - * As a last resort, with no NSWindow to work witn, set both local and + * As a last resort, with no NSWindow to work with, set both local and * global to the screen coordinates. */ @@ -160,7 +160,7 @@ enum { * Convert local from NSWindow flipped coordinates to the toplevel's * coordinates. */ - + local.x -= winPtr->wmInfoPtr->xInParent; local.y -= winPtr->wmInfoPtr->yInParent; @@ -178,7 +178,7 @@ enum { /* * Generate an XEvent for this mouse event. */ - + unsigned int state = 0; NSInteger button = [theEvent buttonNumber]; EventRef eventRef = (EventRef)[theEvent eventRef]; |