Corrent recent commit: off by one error

This commit is contained in:
2014-09-22 13:23:42 +10:00
parent d79e11fcc8
commit c9a7789bcf
2 changed files with 3 additions and 3 deletions

View File

@@ -620,7 +620,7 @@ int set_listbasepointers(Main *main, ListBase **lb)
lb[a] = NULL;
BLI_assert(a == MAX_LIBARRAY);
BLI_assert(a + 1 == MAX_LIBARRAY);
return a;
}