Ticket #2813: number of panelized files was limited to 127.

(handle_path): restore contidion that was lost in
eeaad790ab.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-05-27 13:04:04 +04:00
parent 525339ad62
commit 28a8b10f12
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;
}