diff options
Diffstat (limited to 'source/blender/sequencer/SEQ_iterator.h')
-rw-r--r-- | source/blender/sequencer/SEQ_iterator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/sequencer/SEQ_iterator.h b/source/blender/sequencer/SEQ_iterator.h index d566ff7c4c4..b4068bac1d0 100644 --- a/source/blender/sequencer/SEQ_iterator.h +++ b/source/blender/sequencer/SEQ_iterator.h @@ -35,7 +35,8 @@ struct GSet; struct GSetIterator; #define SEQ_ITERATOR_FOREACH(var, collection) \ - for (SeqIterator iter = {{NULL}}; SEQ_iterator_ensure(collection, &iter, &var) && var != NULL; \ + for (SeqIterator iter = {{{NULL}}}; \ + SEQ_iterator_ensure(collection, &iter, &var) && var != NULL; \ var = SEQ_iterator_yield(&iter)) #define SEQ_ALL_BEGIN(ed, var) \ |