From dd6c4bc2cf443190cc8e7ce8bb37e1ca05bce8a8 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Sun, 27 Feb 2022 19:52:31 -0600 Subject: [PATCH] fixed windows specific bugs with "#load_all" --- include/bh.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/bh.h b/include/bh.h index a123b7d3..edcdbff9 100644 --- a/include/bh.h +++ b/include/bh.h @@ -1720,7 +1720,7 @@ char* bh_lookup_file(char* filename, char* relative_to, char *suffix, b32 add_su bh_dir bh_dir_open(char* path) { #ifdef _BH_WINDOWS - for (int i=0; idata[0].of.i64; - if (dir == NULL) return 0; - do { BOOL success = FindNextFileA(dir->hndl, &dir->found_file); if (!success) return 0; -- 2.25.1