From b6c511d9d0bdd8097a50383d9371af8910c6029a Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Fri, 24 Apr 2015 00:10:40 -0400 Subject: [PATCH] * src/base/ftoutln.c: Minor. --- src/base/ftoutln.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c index 3762d36c2..d821c4957 100644 --- a/src/base/ftoutln.c +++ b/src/base/ftoutln.c @@ -995,13 +995,13 @@ l = FT_MIN( l_in, l_out ); /* non-strict inequalities avoid divide-by-zero when q == l == 0 */ - if ( FT_MulFix( xstrength, q ) <= FT_MulFix( d, l ) ) + if ( FT_MulFix( xstrength, q ) <= FT_MulFix( l, d ) ) shift.x = FT_MulDiv( shift.x, xstrength, d ); else shift.x = FT_MulDiv( shift.x, l, q ); - if ( FT_MulFix( ystrength, q ) <= FT_MulFix( d, l ) ) + if ( FT_MulFix( ystrength, q ) <= FT_MulFix( l, d ) ) shift.y = FT_MulDiv( shift.y, ystrength, d ); else shift.y = FT_MulDiv( shift.y, l, q );