diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-28 16:09:08 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-05 14:47:37 +0100 |
commit | 5a69c1f2aa588afd59a4c98892618585dbd8452e (patch) | |
tree | dc99b864d5878a2a673f6d690bb0af9a1135e6f1 /source | |
parent | 87ef16d3c1de7f6eb2b9ec4883e0ae62771c9a63 (diff) | |
download | mupdf-5a69c1f2aa588afd59a4c98892618585dbd8452e.tar.xz |
Clean up trailing whitespace.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/document.c | 5 | ||||
-rw-r--r-- | source/gprf/gprf-doc.c | 4 | ||||
-rw-r--r-- | source/pdf/pdf-encoding.c | 1 | ||||
-rw-r--r-- | source/pdf/pdf-form.c | 2 |
4 files changed, 5 insertions, 7 deletions
diff --git a/source/fitz/document.c b/source/fitz/document.c index abcbfd9c..b902161c 100644 --- a/source/fitz/document.c +++ b/source/fitz/document.c @@ -388,7 +388,8 @@ fz_keep_page(fz_context *ctx, fz_page *page) void fz_drop_page(fz_context *ctx, fz_page *page) { - if (page) { + if (page) + { if (--page->refs == 0 && page->drop_page_imp) { page->drop_page_imp(ctx, page); @@ -430,7 +431,6 @@ int fz_separation_disabled_on_page (fz_context *ctx, fz_page *page, int sep) { if (ctx == NULL || page == NULL || page->separation_disabled == NULL) return 0; - return page->separation_disabled(ctx, page, sep); } @@ -442,6 +442,5 @@ const char *fz_get_separation_on_page(fz_context *ctx, fz_page *page, int sep, u *cmyk = 0; return NULL; } - return page->get_separation(ctx, page, sep, rgba, cmyk); } diff --git a/source/gprf/gprf-doc.c b/source/gprf/gprf-doc.c index 8126e040..55d88e17 100644 --- a/source/gprf/gprf-doc.c +++ b/source/gprf/gprf-doc.c @@ -769,14 +769,14 @@ static int gprf_count_separations(fz_context *ctx, fz_page *page_) static void gprf_control_separation(fz_context *ctx, fz_page *page_, int sep, int disable) { gprf_page *page = (gprf_page *)page_; - + fz_control_separation(ctx, page->separations, sep, disable); } static int gprf_separation_disabled(fz_context *ctx, fz_page *page_, int sep) { gprf_page *page = (gprf_page *)page_; - + return fz_separation_disabled(ctx, page->separations, sep); } diff --git a/source/pdf/pdf-encoding.c b/source/pdf/pdf-encoding.c index e8e7532d..b6bf3e11 100644 --- a/source/pdf/pdf-encoding.c +++ b/source/pdf/pdf-encoding.c @@ -52,7 +52,6 @@ pdf_lookup_agl(char *name) return agl_code_list[m]; } - if (strstr(buf, "uni") == buf) code = strtol(buf + 3, NULL, 16); else if (strstr(buf, "u") == buf) diff --git a/source/pdf/pdf-form.c b/source/pdf/pdf-form.c index da48f403..9a2d35d9 100644 --- a/source/pdf/pdf-form.c +++ b/source/pdf/pdf-form.c @@ -1288,7 +1288,7 @@ int pdf_choice_widget_options(fz_context *ctx, pdf_document *doc, pdf_widget *tw optarr = pdf_dict_get(ctx, annot->obj, PDF_NAME_Opt); n = pdf_array_len(ctx, optarr); - + if (opts) { for (i = 0; i < n; i++) |