Delay default stage creation

The default stage creation should be delayed as much as possible,
ideally at the end of the init() process.
This commit is contained in:
Emmanuele Bassi 2009-12-03 17:13:44 +00:00
parent e337bd2370
commit 76f4696e43

View File

@ -164,6 +164,9 @@ batch_and_call (CoglJournalEntry *entries,
int batch_len = 1;
CoglJournalEntry *batch_start = entries;
if (n_entries < 1)
return;
for (i = 1; i < n_entries; i++)
{
CoglJournalEntry *entry0 = &entries[i - 1];