diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2022-03-31 08:46:32 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2022-03-31 09:08:58 +0100 |
commit | 4715ee350974aafa39256ba7c765dfcbf450ca9b (patch) | |
tree | c4e7ee6ece45f8c064573396c7d93971d1b02ee6 /pdf/pdf_font1.c | |
parent | 3d5c4238e88fd6e700815aadef8c1a080750ae18 (diff) | |
download | ghostpdl-4715ee350974aafa39256ba7c765dfcbf450ca9b.tar.gz |
Fix some gcc formatting warnings.
"misleading indentation"
Diffstat (limited to 'pdf/pdf_font1.c')
-rw-r--r-- | pdf/pdf_font1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pdf/pdf_font1.c b/pdf/pdf_font1.c index 87ba858b7..1255a9fba 100644 --- a/pdf/pdf_font1.c +++ b/pdf/pdf_font1.c @@ -168,11 +168,13 @@ pdfi_t1_seac_data(gs_font_type1 *pfont, int ccode, gs_glyph *pglyph, gs_const_st pdfi_countup(glyphname); code = pdfi_dict_get_by_key(ctx, pdffont1->CharStrings, glyphname, (pdf_obj **)&charstring); pdfi_countdown(glyphname); - if (code >= 0) - if (pgd != NULL) + if (code >= 0) { + if (pgd != NULL) { gs_glyph_data_from_bytes(pgd, charstring->data, 0, charstring->length, NULL); + } pdfi_countdown(charstring); } + } } return code; |