mirror of https://github.com/MidnightCommander/mc
Merge branch '2813_panelize_limit'
* 2813_panelize_limit: Ticket #2813: number of panelized files was limited to 127.
This commit is contained in:
commit
a56e983ece
|
@ -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