mirror of https://github.com/MidnightCommander/mc
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:
parent
525339ad62
commit
28a8b10f12
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue