From c1e2e40cc9461d35340967e2c0d0aadd73dae999 Mon Sep 17 00:00:00 2001 From: "Dr.Smile" Date: Sat, 8 Apr 2017 20:57:42 +0300 Subject: cosmetic: fix codestyle --- libass/ass_outline.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libass/ass_outline.c') diff --git a/libass/ass_outline.c b/libass/ass_outline.c index 60bb7ee..e8c5e53 100644 --- a/libass/ass_outline.c +++ b/libass/ass_outline.c @@ -234,8 +234,8 @@ static inline double vec_len(Vector vec) static bool emit_point(StrokerState *str, OutlinePoint pt, Vector offs, char tag, int dir) { - int32_t dx = (int32_t)(str->xbord * offs.x); - int32_t dy = (int32_t)(str->ybord * offs.y); + int32_t dx = (int32_t) (str->xbord * offs.x); + int32_t dy = (int32_t) (str->ybord * offs.y); if (dir & 1) { FT_Vector res = { pt.x + dx, pt.y + dy }; @@ -255,8 +255,8 @@ static bool emit_point(StrokerState *str, OutlinePoint pt, static void fix_first_point(StrokerState *str, OutlinePoint pt, Vector offs, int dir) { - int32_t dx = (int32_t)(str->xbord * offs.x); - int32_t dy = (int32_t)(str->ybord * offs.y); + int32_t dx = (int32_t) (str->xbord * offs.x); + int32_t dy = (int32_t) (str->ybord * offs.y); if (dir & 1) { FT_Vector res = { pt.x + dx, pt.y + dy }; @@ -998,7 +998,7 @@ bool outline_stroke(ASS_Outline *result, ASS_Outline *result1, str.eps = eps; str.contour_start = true; - double rel_err = (double)eps / rad; + double rel_err = (double) eps / rad; str.merge_cos = 1 - rel_err; double e = sqrt(2 * rel_err); str.split_cos = 1 + 8 * rel_err - 4 * (1 + rel_err) * e; -- cgit v1.2.3