clutter/frame-clock: Correct indentation

To resolve CI warnings.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1972>
This commit is contained in:
Daniel van Vugt 2021-08-24 16:43:49 +08:00
parent 6960b9b45a
commit da3ff9f6d0

View File

@ -485,7 +485,7 @@ calculate_next_update_time_us (ClutterFrameClock *frame_clock,
*/ */
last_next_presentation_time_us = frame_clock->next_presentation_time_us; last_next_presentation_time_us = frame_clock->next_presentation_time_us;
time_since_last_next_presentation_time_us = time_since_last_next_presentation_time_us =
next_presentation_time_us - last_next_presentation_time_us; next_presentation_time_us - last_next_presentation_time_us;
if (frame_clock->is_next_presentation_time_valid && if (frame_clock->is_next_presentation_time_valid &&
time_since_last_next_presentation_time_us < (refresh_interval_us / 2)) time_since_last_next_presentation_time_us < (refresh_interval_us / 2))
{ {