summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-03-28 13:42:57 +0200
committerTor Andersson <tor.andersson@artifex.com>2012-03-28 13:42:57 +0200
commit68f746a1075518182ba30d35be28a8163e06c6ed (patch)
tree16cd27c8e63c9e5c7e8f7f79e9ee44f71f5d155e /fitz
parentbdb6b688a238df56b2cf47fa17a08a4dd4b7a122 (diff)
downloadmupdf-68f746a1075518182ba30d35be28a8163e06c6ed.tar.xz
Whitespace fixes.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/base_string.c3
-rw-r--r--fitz/res_path.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/fitz/base_string.c b/fitz/base_string.c
index 8ed08911..60e20ac4 100644
--- a/fitz/base_string.c
+++ b/fitz/base_string.c
@@ -249,8 +249,7 @@ float fz_atof(const char *s)
errno = 0;
d = strtod(s, NULL);
if (errno == ERANGE || isnan(d)) {
- /* Return 1.0, as it's a small known value that won't cause a
- divide by 0. */
+ /* Return 1.0, as it's a small known value that won't cause a divide by 0. */
return 1.0;
}
d = CLAMP(d, -FLT_MAX, FLT_MAX);
diff --git a/fitz/res_path.c b/fitz/res_path.c
index 13705969..e3f07192 100644
--- a/fitz/res_path.c
+++ b/fitz/res_path.c
@@ -229,8 +229,8 @@ fz_bound_path(fz_context *ctx, fz_path *path, fz_stroke_state *stroke, fz_matrix
* for it to be expanded in the stroked case below. */
if (path->len == 0)
return fz_empty_rect;
- /* A path must start with a moveto - and if that's all there is
- * then the path is empty. */
+ /* A path must start with a moveto - and if that's all there is
+ * then the path is empty. */
if (path->len == 3)
return fz_empty_rect;