diff --git a/ChangeLog b/ChangeLog index d4f859bb4..8bad3b52d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2015-09-17 Werner Lemberg + + [psaux] Improve tracing message. + + * src/psaux/psobjs.c (ps_parser_load_field) : + Handle plural correctly. + 2015-09-17 Werner Lemberg [pcf] Fix integer overflows (#45985). diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c index 54eabe2b3..1852998b4 100644 --- a/src/psaux/psobjs.c +++ b/src/psaux/psobjs.c @@ -1232,10 +1232,10 @@ if ( result < 0 || (FT_UInt)result < max_objects ) { FT_ERROR(( "ps_parser_load_field:" - " expected %d integers in the %s subarray\n" + " expected %d integer%s in the %s subarray\n" " " " of /FontBBox in the /Blend dictionary\n", - max_objects, + max_objects, max_objects > 1 ? "s" : "", i == 0 ? "first" : ( i == 1 ? "second" : ( i == 2 ? "third"