Merge branch '2813_panelize_limit'

* 2813_panelize_limit:
  Ticket #2813: number of panelized files was limited to 127.
This commit is contained in:
Andrew Borodin 2012-05-28 16:26:46 +04:00
commit a56e983ece
1 changed files with 1 additions and 0 deletions

View File

@ -524,6 +524,7 @@ handle_path (dir_list * list, const char *path,
if (next_free == list->size)
{
list->list = g_try_realloc (list->list, sizeof (file_entry) * (list->size + RESIZE_STEPS));
if (list->list == NULL)
return -1;
list->size += RESIZE_STEPS;
}