Commit 62ab8483 authored by Sam Lantinga's avatar Sam Lantinga

Fix recommended by Eddy L O Jansson

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403509
parent cf3db869
...@@ -130,7 +130,7 @@ SDL_IntersectRectAndLine(const SDL_Rect * rect, int *X1, int *Y1, int *X2, ...@@ -130,7 +130,7 @@ SDL_IntersectRectAndLine(const SDL_Rect * rect, int *X1, int *Y1, int *X2,
int recty2; int recty2;
if (!rect || !X1 || !Y1 || !X2 || !Y2) { if (!rect || !X1 || !Y1 || !X2 || !Y2) {
SDL_FALSE; return SDL_FALSE;
} }
x1 = *X1; x1 = *X1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment