diff options
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/base_string.c | 3 | ||||
-rw-r--r-- | fitz/res_path.c | 4 |
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; |