From e2ee8abce1a1e512ce40a7a1e95e562b0256b43e Mon Sep 17 00:00:00 2001 From: Will Snook Date: Tue, 13 May 2014 13:53:30 -0600 Subject: [PATCH] use std::fabs instead of fabs --- src/text/placement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/placement.cpp b/src/text/placement.cpp index 95bfa6bb0..2ae95e4fd 100644 --- a/src/text/placement.cpp +++ b/src/text/placement.cpp @@ -109,7 +109,7 @@ void getSegmentGlyphs(std::back_insert_iterator glyphs, // Don't place around sharp corners float angleDiff = fmod((angle - prevAngle), (2.0f * M_PI)); - if (prevAngle && fabs(angleDiff) > maxAngleDelta) { + if (prevAngle && std::fabs(angleDiff) > maxAngleDelta) { anchor.scale = prevscale; break; }