summaryrefslogtreecommitdiffhomepage
path: root/src/shapes.c
diff options
context:
space:
mode:
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;
}