From 132dcb648981050990e34a44925e6b54d0dc008c Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 6 Jan 2021 17:36:07 -0500 Subject: more open menu, border thickness setting, fixed small text clipping issue --- filesystem.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 filesystem.c (limited to 'filesystem.c') diff --git a/filesystem.c b/filesystem.c deleted file mode 100644 index f68fe72..0000000 --- a/filesystem.c +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include -#if __unix__ -#include -#endif - -static bool fs_file_exists(char const *path) { -#if _WIN32 - struct _stat statbuf = {0}; - if (_stat(path, &statbuf) != 0) - return false; - return statbuf.st_mode == _S_IFREG; -#else - struct stat statbuf = {0}; - if (stat(path, &statbuf) != 0) - return false; - return S_ISREG(statbuf.st_mode); -#endif -} -- cgit v1.2.3