summaryrefslogtreecommitdiff
path: root/filesystem.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-06 17:36:07 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-06 17:36:07 -0500
commit132dcb648981050990e34a44925e6b54d0dc008c (patch)
tree7a41a97308b1921c62d2f5afd12c7cf475f14247 /filesystem.c
parent9e055b2e25455fc4fa0376495ccc9335059f3131 (diff)
more open menu, border thickness setting, fixed small text clipping issue
Diffstat (limited to 'filesystem.c')
-rw-r--r--filesystem.c19
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
-}