1 comment:
for (i = 0; i < layout->num_entries; ++i) {
if (!layout->entries[i].included)
continue;
if (!iterator)
return &layout->entries[i];
if (iterator == &layout->entries[i])
iterator = NULL;
}
This will result in an endless while-loop that is calling this if there are duplicate entries in the […]
It's not comparing entries but their pointers. But this is
really ugly code (maybe even too ugly for an interim solution)
so I rewrote it.
To view, visit change 33518. To unsubscribe, or for help writing mail filters, visit settings.