projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d266bdf
)
forgot to add back a line
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Mon, 14 Mar 2022 03:32:35 +0000
(22:32 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Mon, 14 Mar 2022 03:32:35 +0000
(22:32 -0500)
include/bh.h
patch
|
blob
|
history
diff --git
a/include/bh.h
b/include/bh.h
index ad7aa4b78c9012faaf76d7cad5a82dc2b9e34e30..65276923c8b961b43568804f7c358908f59b4426 100644
(file)
--- 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);