Skip to content

Commit

Permalink
RT#151594: coredump fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dk committed Feb 7, 2024
1 parent b548c9f commit 9a8f1c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unix/font.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,8 @@ apc_fonts( Handle self, const char *facename, const char * encoding, int *retCou
{
PFont fmtx;

*retCount = 0;

#ifdef USE_FONTQUERY
if ( is_opt(optInFontQuery) )
return prima_fc_fonts( NULL, facename, encoding, retCount);
Expand Down

0 comments on commit 9a8f1c5

Please sign in to comment.