summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-22 19:38:37 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-22 19:38:37 -0500
commit8da3cb956b14a7644f815a1874bdcf29a4cb711d (patch)
treedabbaf21a927fb546cac5228767f7ffe975b380b /base.h
parentf2edda528a3babe16d9da48580bdcb696e5fa664 (diff)
got .. to work in the file selector
Diffstat (limited to 'base.h')
-rw-r--r--base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base.h b/base.h
index f6b0452..9ecbda4 100644
--- a/base.h
+++ b/base.h
@@ -10,9 +10,12 @@
#include <shlobj.h>
#define PATH_SEPARATOR '\\'
#define PATH_SEPARATOR_STR "\\"
+// on windows, let the user use forwards slashes as well as backslashes
+#define ALL_PATH_SEPARATORS "\\/"
#else
#define PATH_SEPARATOR '/'
#define PATH_SEPARATOR_STR "/"
+#define ALL_PATH_SEPARATORS "/"
#endif
#include <stdbool.h>