summaryrefslogtreecommitdiffhomepage
path: root/src/shapes.c
diff options
context:
space:
mode:
authorRay <[email protected]>2019-02-28 23:06:37 +0100
committerRay <[email protected]>2019-02-28 23:06:37 +0100
commit36fa0207f29a4f3e2ed1a8e4d541bcd14e09ff2b (patch)
treeecf58f4a3149e429dc8b6f9c02070453d49977e9 /src/shapes.c
parent50da9f623e1c2c70530653399a9acf1092e30a1d (diff)
downloadraylib-36fa0207f29a4f3e2ed1a8e4d541bcd14e09ff2b.tar.gz
raylib-36fa0207f29a4f3e2ed1a8e4d541bcd14e09ff2b.zip
Some spacing review
Diffstat (limited to 'src/shapes.c')
-rw-r--r--src/shapes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shapes.c b/src/shapes.c
index 837e4e9c..fd28f3a3 100644
--- a/src/shapes.c
+++ b/src/shapes.c
@@ -400,7 +400,7 @@ void DrawRectangleLinesEx(Rectangle rec, int lineThick, Color color)
{
if (lineThick > rec.width || lineThick > rec.height)
{
- if(rec.width > rec.height) lineThick = (int)rec.height/2;
+ if (rec.width > rec.height) lineThick = (int)rec.height/2;
else if (rec.width < rec.height) lineThick = (int)rec.width/2;
}