From: Brendan Hansen Date: Mon, 28 Feb 2022 01:52:31 +0000 (-0600) Subject: fixed windows specific bugs with "#load_all" X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=dd6c4bc2cf443190cc8e7ce8bb37e1ca05bce8a8;p=onyx.git fixed windows specific bugs with "#load_all" --- 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;