From db2a05e9fe1f2ba3930f4373aaeb935839319545 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Sun, 13 Mar 2022 22:32:35 -0500 Subject: [PATCH] forgot to add back a line --- include/bh.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/bh.h b/include/bh.h index ad7aa4b7..65276923 100644 --- a/include/bh.h +++ b/include/bh.h @@ -1744,6 +1744,7 @@ bh_dir bh_dir_open(char* path) { char new_path[512] = { 0 }; strncpy(new_path, path, 511); bh_path_convert_separators(new_path); + strncat(new_path, "\\*.*", 511); Windows_Directory_Opened* dir = malloc(sizeof(Windows_Directory_Opened)); dir->hndl = FindFirstFileA(new_path, &dir->found_file); -- 2.25.1