Fixed typo

This commit is contained in:
Sam Lantinga 2021-11-12 03:03:56 -08:00
parent 35d90f17e1
commit 074e613bbb
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ Cocoa_UpdateClipCursor(SDL_Window * window)
rect.origin.y = [nswindow contentLayoutRect].size.height - mouse_rect.y - mouse_rect.h; rect.origin.y = [nswindow contentLayoutRect].size.height - mouse_rect.y - mouse_rect.h;
rect.size.width = mouse_rect.w; rect.size.width = mouse_rect.w;
rect.size.height = mouse_rect.h; rect.size.height = mouse_rect.h;
data->nswindow.mouseConfinementRect = rect; nswindow.mouseConfinementRect = rect;
} }
} else { } else {
/* Move the cursor to the nearest point in the window */ /* Move the cursor to the nearest point in the window */