Fix recommended by Eddy L O Jansson
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403509
This commit is contained in:
parent
cf3db86918
commit
62ab848372
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue