diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2008-04-20 12:25:49 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2008-04-20 12:25:49 +0200 |
commit | 8d2c1b8e268fa14066e032aa94769612c36f1f3e (patch) | |
tree | 46c8036fc9d0e1382281f052046557744c92f1b6 | |
parent | 136676c03490f7ea8b88bcedf2ad22ede20aef17 (diff) | |
download | mupdf-8d2c1b8e268fa14066e032aa94769612c36f1f3e.tar.xz |
Whitespace cleanup.
-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) { |