[psaux] Improve tracing message.

* src/psaux/psobjs.c (ps_parser_load_field) <T1_FIELD_TYPE_MM_BBOX>:
Handle plural correctly.
This commit is contained in:
Werner Lemberg 2015-09-17 16:31:58 +02:00
parent c838c4f7b5
commit 7d364b7e51
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2015-09-17 Werner Lemberg <wl@gnu.org>
[psaux] Improve tracing message.
* src/psaux/psobjs.c (ps_parser_load_field) <T1_FIELD_TYPE_MM_BBOX>:
Handle plural correctly.
2015-09-17 Werner Lemberg <wl@gnu.org>
[pcf] Fix integer overflows (#45985).

View File

@ -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"