From 032ff77602af8ecdc9b1946f455200692f261273 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Thu, 13 Oct 2022 10:21:00 -0500 Subject: [PATCH] Fixing more whitespace --- src/Timeline.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Timeline.cpp b/src/Timeline.cpp index 91236641..ea20277d 100644 --- a/src/Timeline.cpp +++ b/src/Timeline.cpp @@ -368,27 +368,27 @@ void Timeline::RemoveEffect(EffectBase* effect) { effects.remove(effect); - // Delete effect object (if timeline allocated it) - bool allocated = allocated_effects.count(effect); - if (allocated) { - delete effect; - effect = NULL; - allocated_effects.erase(effect); - } + // Delete effect object (if timeline allocated it) + bool allocated = allocated_effects.count(effect); + if (allocated) { + delete effect; + effect = NULL; + allocated_effects.erase(effect); + } } // Remove an openshot::Clip to the timeline void Timeline::RemoveClip(Clip* clip) { clips.remove(clip); - - // Delete clip object (if timeline allocated it) - bool allocated = allocated_clips.count(clip); - if (allocated) { - delete clip; - clip = NULL; - allocated_clips.erase(clip); - } + + // Delete clip object (if timeline allocated it) + bool allocated = allocated_clips.count(clip); + if (allocated) { + delete clip; + clip = NULL; + allocated_clips.erase(clip); + } } // Look up a clip