style cleanup: if();

This commit is contained in:
2012-10-07 09:48:59 +00:00
parent 7748133bf2
commit e8872a8ea2
47 changed files with 495 additions and 200 deletions

View File

@@ -3986,13 +3986,13 @@ static void SeqTransInfo(TransInfo *t, Sequence *seq, int *recursive, int *count
*flag = (seq->flag | SELECT) & ~(SEQ_LEFTSEL | SEQ_RIGHTSEL);
if (t->frame_side == 'R') {
if (right <= cfra) *count = *flag = 0; /* ignore */
else if (left > cfra) ; /* keep the selection */
if (right <= cfra) { *count = *flag = 0; } /* ignore */
else if (left > cfra) { } /* keep the selection */
else *flag |= SEQ_RIGHTSEL;
}
else {
if (left >= cfra) *count = *flag = 0; /* ignore */
else if (right < cfra) ; /* keep the selection */
if (left >= cfra) { *count = *flag = 0; } /* ignore */
else if (right < cfra) { } /* keep the selection */
else *flag |= SEQ_LEFTSEL;
}
}