diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c index b54cbac638d..96cf5c30d4c 100644 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c +++ b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c @@ -531,7 +531,7 @@ return( pt_number ); } } else { *val = strtod(tokbuf,&end); - if ( !finite(*val) ) { + if ( !isfinite(*val) ) { /* GT: NaN is a concept in IEEE floating point which means "Not a Number" */ /* GT: it is used to represent errors like 0/0 or sqrt(-1). */ LogError( _("Bad number, infinity or nan: %s\n"), tokbuf ); @@ -677,14 +677,14 @@ return( sp ); } static void CheckMakeB(BasePoint *test, BasePoint *good) { - if ( !finite(test->x) || test->x>100000 || test->x<-100000 ) { + if ( !isfinite(test->x) || test->x>100000 || test->x<-100000 ) { LogError( _("Value out of bounds in spline.\n") ); if ( good!=NULL ) test->x = good->x; else test->x = 0; } - if ( !finite(test->y) || test->y>100000 || test->y<-100000 ) { + if ( !isfinite(test->y) || test->y>100000 || test->y<-100000 ) { LogError( _("Value out of bounds in spline.\n") ); if ( good!=NULL ) test->y = good->y; |