mirror of
https://github.com/yawut/SDL.git
synced 2026-08-08 11:45:56 -05:00
Fix recommended by Eddy L O Jansson
This commit is contained in:
parent
bbcab32cb1
commit
7ed3b5d46e
|
|
@ -130,7 +130,7 @@ SDL_IntersectRectAndLine(const SDL_Rect * rect, int *X1, int *Y1, int *X2,
|
|||
int recty2;
|
||||
|
||||
if (!rect || !X1 || !Y1 || !X2 || !Y2) {
|
||||
SDL_FALSE;
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
x1 = *X1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user