mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 03:07:10 -05:00
Fix recommended by Eddy L O Jansson
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user