diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-06 17:36:07 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-06 17:36:07 -0500 |
commit | 132dcb648981050990e34a44925e6b54d0dc008c (patch) | |
tree | 7a41a97308b1921c62d2f5afd12c7cf475f14247 /filesystem.c | |
parent | 9e055b2e25455fc4fa0376495ccc9335059f3131 (diff) |
more open menu, border thickness setting, fixed small text clipping issue
Diffstat (limited to 'filesystem.c')
-rw-r--r-- | filesystem.c | 19 |
1 files changed, 0 insertions, 19 deletions
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 <sys/types.h> -#include <sys/stat.h> -#if __unix__ -#include <unistd.h> -#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 -} |