mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 07:16:00 +00:00
Fix remaining typos (#7921)
* Fix remaining typos Found via `codespell -q 3 -S *.hex,*.pdf,./src/libm,./src/hidapi,./src/stdlib/SDL_malloc.c,./src/video/x11/edid.h -L caf,currenty,datas,einstance,fo,hda,lod,mata,parm,parms,pevent,pevents,pixelx,requestor,ser,statics,te,texturers,thid,uscaled,windowz`
This commit is contained in:
@@ -809,7 +809,7 @@ int WIN_GetWindowBordersSize(SDL_VideoDevice *_this, SDL_Window *window, int *to
|
||||
rcWindow.bottom = ptDiff.y;
|
||||
rcWindow.right = ptDiff.x;
|
||||
|
||||
/* Now that both the inner and outer rects use the same coordinate system we can substract them to get the border size.
|
||||
/* Now that both the inner and outer rects use the same coordinate system we can subtract them to get the border size.
|
||||
* Keep in mind that the top/left coordinates of rcWindow are negative because the border lies slightly before {0,0},
|
||||
* so switch them around because SDL3 wants them in positive. */
|
||||
*top = rcClient.top - rcWindow.top;
|
||||
|
Reference in New Issue
Block a user