* src/raster/ftmisc.h (FT_MulDiv): Remove unused copy.

This commit is contained in:
Alexei Podtelezhnikov 2023-12-01 20:50:16 -05:00
parent 8f255c89e1
commit 5999d47d68
1 changed files with 0 additions and 21 deletions

View File

@ -92,27 +92,6 @@
#endif
static FT_Long
FT_MulDiv( FT_Long a,
FT_Long b,
FT_Long c )
{
FT_Int s;
FT_Long d;
s = 1;
if ( a < 0 ) { a = -a; s = -1; }
if ( b < 0 ) { b = -b; s = -s; }
if ( c < 0 ) { c = -c; s = -s; }
d = (FT_Long)( c > 0 ? ( (FT_Int64)a * b + ( c >> 1 ) ) / c
: 0x7FFFFFFFL );
return ( s > 0 ) ? d : -d;
}
static FT_Long
FT_MulDiv_No_Round( FT_Long a,
FT_Long b,