From: Brendan Hansen Date: Mon, 14 Mar 2022 03:32:35 +0000 (-0500) Subject: forgot to add back a line X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=db2a05e9fe1f2ba3930f4373aaeb935839319545;p=onyx.git forgot to add back a line --- 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);