summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-27 14:36:25 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-05-27 14:50:57 +0200
commitaf13164924fb4c627f201c943c7a18e5dbe39507 (patch)
treecfb3e8ec3c43b42285b05496b4ad999f0e054f1c
parent01e8dbf74068362d769604df9e87d17c0c190f27 (diff)
downloadmupdf-af13164924fb4c627f201c943c7a18e5dbe39507.tar.xz
Strip trailing whitespace.
-rw-r--r--draw/draw_device.c2
-rw-r--r--fitz/base_geometry.c2
-rw-r--r--fitz/dev_svg.c1
-rw-r--r--fitz/fitz-internal.h1
-rw-r--r--fitz/res_colorspace.c1
-rw-r--r--fitz/res_image.c1
-rw-r--r--fitz/res_shade.c1
-rw-r--r--fitz/res_text.c1
-rw-r--r--pdf/pdf_colorspace.c1
-rw-r--r--pdf/pdf_field.c1
-rw-r--r--scripts/cmapdump.c1
11 files changed, 1 insertions, 12 deletions
diff --git a/draw/draw_device.c b/draw/draw_device.c
index addd798c..3c705369 100644
--- a/draw/draw_device.c
+++ b/draw/draw_device.c
@@ -1847,7 +1847,6 @@ fz_draw_end_tile(fz_device *devp)
tile_record *tile;
tile_key *key;
-
if (dev->top == 0)
{
fz_warn(ctx, "Unexpected end_tile");
@@ -1962,7 +1961,6 @@ fz_draw_end_tile(fz_device *devp)
/* Do nothing */
}
-
fz_drop_pixmap(dev->ctx, state[1].dest);
fz_drop_pixmap(dev->ctx, state[1].shape);
#ifdef DUMP_GROUP_BLENDS
diff --git a/fitz/base_geometry.c b/fitz/base_geometry.c
index 4819c930..9c03d7e2 100644
--- a/fitz/base_geometry.c
+++ b/fitz/base_geometry.c
@@ -480,4 +480,4 @@ fz_rect *fz_include_point_in_rect(fz_rect *r, const fz_point *p)
if (p->y > r->y1) r->y1 = p->y;
return r;
-} \ No newline at end of file
+}
diff --git a/fitz/dev_svg.c b/fitz/dev_svg.c
index 4353544d..f57ee937 100644
--- a/fitz/dev_svg.c
+++ b/fitz/dev_svg.c
@@ -206,7 +206,6 @@ svg_dev_text(svg_device *sdev, const fz_matrix *ctm, fz_text *text)
fz_printf(out, "\n</text>\n");
}
-
/* Entry points */
static void
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h
index b72f09d0..40c7b516 100644
--- a/fitz/fitz-internal.h
+++ b/fitz/fitz-internal.h
@@ -1486,7 +1486,6 @@ void fz_flatten_dash_path(fz_gel *gel, fz_path *path, const fz_stroke_state *str
fz_irect *fz_bound_path_accurate(fz_context *ctx, fz_irect *bbox, const fz_irect *scissor, fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth);
-
/*
* The device interface.
*/
diff --git a/fitz/res_colorspace.c b/fitz/res_colorspace.c
index faa6c3c1..2a99f9ba 100644
--- a/fitz/res_colorspace.c
+++ b/fitz/res_colorspace.c
@@ -1177,7 +1177,6 @@ fz_convert_color(fz_context *ctx, fz_colorspace *ds, float *dv, fz_colorspace *s
cc.convert(&cc, dv, sv);
}
-
/* Indexed */
struct indexed
diff --git a/fitz/res_image.c b/fitz/res_image.c
index 82703b50..0454f6bd 100644
--- a/fitz/res_image.c
+++ b/fitz/res_image.c
@@ -301,7 +301,6 @@ fz_image_get_pixmap(fz_context *ctx, fz_image *image, int w, int h)
break;
}
-
/* Now we try to cache the pixmap. Any failure here will just result
* in us not caching. */
fz_var(keyp);
diff --git a/fitz/res_shade.c b/fitz/res_shade.c
index fd5e0a85..c678bd17 100644
--- a/fitz/res_shade.c
+++ b/fitz/res_shade.c
@@ -752,7 +752,6 @@ fz_process_mesh_type6(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm, fz
else
continue;
-
make_tensor_patch(&patch, 6, v);
for (i = 0; i < 4; i++)
diff --git a/fitz/res_text.c b/fitz/res_text.c
index 57e02cf9..54c7691e 100644
--- a/fitz/res_text.c
+++ b/fitz/res_text.c
@@ -99,7 +99,6 @@ fz_bound_text(fz_context *ctx, fz_text *text, const fz_stroke_state *stroke, con
bbox->x1 += 1;
bbox->y1 += 1;
-
return bbox;
}
diff --git a/pdf/pdf_colorspace.c b/pdf/pdf_colorspace.c
index 21d67eeb..c2fa106a 100644
--- a/pdf/pdf_colorspace.c
+++ b/pdf/pdf_colorspace.c
@@ -143,7 +143,6 @@ load_separation(pdf_document *xref, pdf_obj *array)
return cs;
}
-
static fz_colorspace *
load_indexed(pdf_document *xref, pdf_obj *array)
{
diff --git a/pdf/pdf_field.c b/pdf/pdf_field.c
index 50caa2ab..4d6d9cdb 100644
--- a/pdf/pdf_field.c
+++ b/pdf/pdf_field.c
@@ -53,4 +53,3 @@ int pdf_field_type(pdf_document *doc, pdf_obj *obj)
else
return FZ_WIDGET_TYPE_NOT_WIDGET;
}
-
diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c
index d62c53b8..d8671eb2 100644
--- a/scripts/cmapdump.c
+++ b/scripts/cmapdump.c
@@ -192,7 +192,6 @@ fz_colorspace_context *fz_keep_colorspace_context(fz_context *ctx)
return NULL;
}
-
void fz_new_aa_context(fz_context *ctx)
{
}