Index: core/src/fxge/win32/fx_win32_gdipext.cpp |
diff --git a/core/src/fxge/win32/fx_win32_gdipext.cpp b/core/src/fxge/win32/fx_win32_gdipext.cpp |
index aaf7c36919df05fde70ca4918f3579d671898b9e..ce280948d70ce19a6a16df329f9fc7ef415570b3 100644 |
--- a/core/src/fxge/win32/fx_win32_gdipext.cpp |
+++ b/core/src/fxge/win32/fx_win32_gdipext.cpp |
@@ -1087,7 +1087,7 @@ static FX_BOOL IsSmallTriangle(PointF* points, |
} |
FX_FLOAT dx = x1 - x2; |
FX_FLOAT dy = y1 - y2; |
- FX_FLOAT distance_square = FXSYS_Mul(dx, dx) + FXSYS_Mul(dy, dy); |
+ FX_FLOAT distance_square = (dx * dx) + (dy * dy); |
if (distance_square < (1.0f * 2 + 1.0f / 4)) { |
v1 = i; |
v2 = pair1; |