Some spacing review

This commit is contained in:
Ray 2019-02-28 23:06:37 +01:00
parent 50da9f623e
commit 36fa0207f2
4 changed files with 5 additions and 7 deletions

View file

@ -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;
}