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:
luzpaz
2023-07-03 15:46:47 -04:00
committed by GitHub
parent 65e1d568ef
commit 37e567994d
55 changed files with 85 additions and 85 deletions

View File

@@ -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;