summaryrefslogtreecommitdiffhomepage
path: root/src/shapes.c
diff options
context:
space:
mode:
authorRay <[email protected]>2019-02-22 13:13:11 +0100
committerRay <[email protected]>2019-02-22 13:13:11 +0100
commit374811c440302701496bfb474ce5861c951c5884 (patch)
treef81022aea0804a9b21fbcf44d702b376172de936 /src/shapes.c
parent8382ab9ada2ecccd9a28702af193d242a8f16a6a (diff)
downloadraylib-374811c440302701496bfb474ce5861c951c5884.tar.gz
raylib-374811c440302701496bfb474ce5861c951c5884.zip
Change ternary operator formatting
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 dbc38082..837e4e9c 100644
--- a/src/shapes.c
+++ b/src/shapes.c
@@ -132,7 +132,7 @@ void DrawLineEx(Vector2 startPos, Vector2 endPos, float thick, Color color)
rlPushMatrix();
rlTranslatef((float)startPos.x, (float)startPos.y, 0.0f);
rlRotatef(RAD2DEG*angle, 0.0f, 0.0f, 1.0f);
- rlTranslatef(0, (thick > 1.0f) ? -thick/2.0f : -1.0f, 0.0f);
+ rlTranslatef(0, (thick > 1.0f)? -thick/2.0f : -1.0f, 0.0f);
rlBegin(RL_QUADS);
rlColor4ub(color.r, color.g, color.b, color.a);