diff options
| author | raysan5 <raysan5@gmail.com> | 2016-05-31 19:12:37 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-05-31 19:12:37 +0200 |
| commit | d17a0cee1aa53978387e68be58d901bffd1ac0a9 (patch) | |
| tree | e2818ccfb66bb3898a55f29f2cc01dcf526ce0c3 /src/shapes.c | |
| parent | 302ec438dd8a5483e4fcf81d4bd80ac7d09e6a61 (diff) | |
| download | raylib-d17a0cee1aa53978387e68be58d901bffd1ac0a9.tar.gz raylib-d17a0cee1aa53978387e68be58d901bffd1ac0a9.zip | |
Review text formatting (spacing, tabs...)
Diffstat (limited to 'src/shapes.c')
| -rw-r--r-- | src/shapes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shapes.c b/src/shapes.c index 5b66e5ef..7129ac17 100644 --- a/src/shapes.c +++ b/src/shapes.c @@ -489,7 +489,7 @@ Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2) retRec.height = rec2.height - dyy; } } - + if (rec1.width > rec2.width) { if (retRec.width >= rec2.width) retRec.width = rec2.width; |
