aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/primitives.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/primitives.cpp b/graphics/primitives.cpp
index 919ff05c15..b98b2cefa5 100644
--- a/graphics/primitives.cpp
+++ b/graphics/primitives.cpp
@@ -85,7 +85,7 @@ void drawThickLine(int x0, int y0, int x1, int y1, int thickness, int color, voi
float d = (float)sqrt(dx * dx + dy * dy);
if (!d)
- return;
+ return;
int thickX = (int)((float)thickness * dy / d / 2);
int thickY = (int)((float)thickness * dx / d / 2);