From 5a69c1f2aa588afd59a4c98892618585dbd8452e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 28 Dec 2015 16:09:08 +0100 Subject: Clean up trailing whitespace. --- source/fitz/document.c | 5 ++--- source/gprf/gprf-doc.c | 4 ++-- source/pdf/pdf-encoding.c | 1 - source/pdf/pdf-form.c | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) (limited to 'source') 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++) -- cgit v1.2.3