Skip to content
Snippets Groups Projects
Commit 97f2cafb authored by Constantin Papizh's avatar Constantin Papizh
Browse files

typename fixed

parent ceb3ae7f
No related branches found
No related tags found
1 merge request!37typename fixed
...@@ -382,7 +382,7 @@ dap_list_name_directories_t *dap_get_subs(const char *a_path_dir){ ...@@ -382,7 +382,7 @@ dap_list_name_directories_t *dap_get_subs(const char *a_path_dir){
HANDLE h_find_file = FindFirstFileA(m_path, &info_file); HANDLE h_find_file = FindFirstFileA(m_path, &info_file);
while (FindNextFileA(h_find_file, &info_file)){ while (FindNextFileA(h_find_file, &info_file)){
if (info_file.dwFileAttributes == FILE_ATTRIBUTE_DIRECTORY){ if (info_file.dwFileAttributes == FILE_ATTRIBUTE_DIRECTORY){
element = (list_name_directories_t *)malloc(sizeof(list_name_directories_t)); element = (dap_list_name_directories_t *)malloc(sizeof(dap_list_name_directories_t));
element->name_directory = dap_strdup(info_file.cFileName); element->name_directory = dap_strdup(info_file.cFileName);
LL_APPEND(list, element); LL_APPEND(list, element);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment