diff options
-rw-r--r-- | apps/pdftool.c | 4 | ||||
-rw-r--r-- | mupdf/pdf_parse.c | 8 | ||||
-rw-r--r-- | mupdf/pdf_shade1.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/apps/pdftool.c b/apps/pdftool.c index 2d2af9fb..d1379d98 100644 --- a/apps/pdftool.c +++ b/apps/pdftool.c @@ -59,7 +59,7 @@ void closesrc(void) void opensrc(char *filename, char *password, int loadpages) { fz_error *error; - fz_obj *obj; + fz_obj *obj; closesrc(); @@ -120,7 +120,7 @@ void opensrc(char *filename, char *password, int loadpages) error = pdf_loadoutline(&srcoutline, src); if (error) - die(error); + die(error); } void preloadobjstms(void) diff --git a/mupdf/pdf_parse.c b/mupdf/pdf_parse.c index 596a5084..3dea83a2 100644 --- a/mupdf/pdf_parse.c +++ b/mupdf/pdf_parse.c @@ -143,10 +143,10 @@ pdf_parsearray(fz_obj **op, fz_stream *file, char *buf, int cap) if (n > 1) { error = fz_newint(&obj, b); - if (error) + if (error) goto cleanup; error = fz_arraypush(ary, obj); - if (error) + if (error) goto cleanup; fz_dropobj(obj); obj = nil; @@ -157,10 +157,10 @@ pdf_parsearray(fz_obj **op, fz_stream *file, char *buf, int cap) if (tok == PDF_TINT && n == 2) { error = fz_newint(&obj, a); - if (error) + if (error) goto cleanup; error = fz_arraypush(ary, obj); - if (error) + if (error) goto cleanup; fz_dropobj(obj); obj = nil; diff --git a/mupdf/pdf_shade1.c b/mupdf/pdf_shade1.c index 3f52333f..a5e4f99e 100644 --- a/mupdf/pdf_shade1.c +++ b/mupdf/pdf_shade1.c @@ -197,7 +197,7 @@ pdf_loadtype2shade(fz_shade *shade, pdf_xref *xref, fz_obj *dict, fz_obj *ref) n = 0; - /* if the axis has virtually length 0 (a point), use the same axis + /* if the axis has virtually length 0 (a point), use the same axis position t = 0 for all triangle vertices */ if (dist < FLT_EPSILON) { |