Commit 074e613bbbae00fb73b97f071f25c6d2823e3729

Sam Lantinga 2021-11-12T03:03:56

Fixed typo

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m
index 7908646..37b4c15 100644
--- a/src/video/cocoa/SDL_cocoawindow.m
+++ b/src/video/cocoa/SDL_cocoawindow.m
@@ -423,7 +423,7 @@ Cocoa_UpdateClipCursor(SDL_Window * window)
             rect.origin.y = [nswindow contentLayoutRect].size.height - mouse_rect.y - mouse_rect.h;
             rect.size.width = mouse_rect.w;
             rect.size.height = mouse_rect.h;
-            data->nswindow.mouseConfinementRect = rect;
+            nswindow.mouseConfinementRect = rect;
         }
     } else {
         /* Move the cursor to the nearest point in the window */