summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-12-28 16:09:08 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-01-05 14:47:37 +0100
commit5a69c1f2aa588afd59a4c98892618585dbd8452e (patch)
treedc99b864d5878a2a673f6d690bb0af9a1135e6f1 /source
parent87ef16d3c1de7f6eb2b9ec4883e0ae62771c9a63 (diff)
downloadmupdf-5a69c1f2aa588afd59a4c98892618585dbd8452e.tar.xz
Clean up trailing whitespace.
Diffstat (limited to 'source')
-rw-r--r--source/fitz/document.c5
-rw-r--r--source/gprf/gprf-doc.c4
-rw-r--r--source/pdf/pdf-encoding.c1
-rw-r--r--source/pdf/pdf-form.c2
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++)