Cleanup: Don't use camel case for variable names
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 19 Dec 2017 10:53:11 +0000 (11:53 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 19 Dec 2017 10:53:11 +0000 (11:53 +0100)
source/blender/editors/space_sequencer/sequencer_edit.c

index f0d14825bb229558e9daadb7ac69e4dd5f7412f1..87dfe93378df466d7b9833db4d1b7591fb7bebd9 100644 (file)
@@ -2213,23 +2213,24 @@ static int sequencer_delete_exec(bContext *C, wmOperator *UNUSED(op))
        Editing *ed = BKE_sequencer_editing_get(scene, false);
        Sequence *seq;
        MetaStack *ms;
-       bool nothingSelected = true;
+       bool nothing_selected = true;
 
        seq = BKE_sequencer_active_get(scene);
        if (seq && seq->flag & SELECT) { /* avoid a loop since this is likely to be selected */
-               nothingSelected = false;
+               nothing_selected = false;
        }
        else {
                for (seq = ed->seqbasep->first; seq; seq = seq->next) {
                        if (seq->flag & SELECT) {
-                               nothingSelected = false;
+                               nothing_selected = false;
                                break;
                        }
                }
        }
 
-       if (nothingSelected)
+       if (nothing_selected) {
                return OPERATOR_FINISHED;
+       }
 
        /* for effects and modifiers, try to find a replacement input */
        for (seq = ed->seqbasep->first; seq; seq = seq->next) {