From 06fa131235ca92df0647aa16d522973f8fc68eaf Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Sat, 7 Dec 2019 11:56:02 +0100 Subject: [PATCH] clutter-timeline: Fix some indentation In Gnome Builder this looks very odd, much worse than in git. We'll probably not touch the code soon, so fix indentation for better readability. https://gitlab.gnome.org/GNOME/mutter/merge_requests/965 --- clutter/clutter/clutter-timeline.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/clutter/clutter/clutter-timeline.c b/clutter/clutter/clutter-timeline.c index cddbf39b5..b6f7ac666 100644 --- a/clutter/clutter/clutter-timeline.c +++ b/clutter/clutter/clutter-timeline.c @@ -1038,15 +1038,15 @@ clutter_timeline_do_frame (ClutterTimeline *timeline) * to correpondingly reduce elapsed_time_delta to reflect the correct * range of times */ if (priv->direction == CLUTTER_TIMELINE_FORWARD) - { - elapsed_time_delta -= (priv->elapsed_time - priv->duration); - priv->elapsed_time = priv->duration; - } + { + elapsed_time_delta -= (priv->elapsed_time - priv->duration); + priv->elapsed_time = priv->duration; + } else if (priv->direction == CLUTTER_TIMELINE_BACKWARD) - { - elapsed_time_delta -= - priv->elapsed_time; - priv->elapsed_time = 0; - } + { + elapsed_time_delta -= - priv->elapsed_time; + priv->elapsed_time = 0; + } end_msecs = priv->elapsed_time; @@ -1756,12 +1756,12 @@ _clutter_timeline_do_tick (ClutterTimeline *timeline, } if (msecs != 0) - { - /* Avoid accumulating error */ + { + /* Avoid accumulating error */ priv->last_frame_time += msecs; - priv->msecs_delta = msecs; - clutter_timeline_do_frame (timeline); - } + priv->msecs_delta = msecs; + clutter_timeline_do_frame (timeline); + } } }