Add use of wildcard "*" for loading kips from a folder

This commit is contained in:
Kostas Missos
2018-09-24 23:47:35 +03:00
parent 381d5c9236
commit 1392e6eaf4
7 changed files with 82 additions and 24 deletions

View File

@@ -45,7 +45,7 @@ int ini_parse(link_t *dst, char *ini_path, bool is_dir)
if (is_dir)
{
filelist = dirlist(filename);
filelist = dirlist(filename, "*.ini");
if (!filelist)
{
free(filename);