summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-21 13:35:18 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-21 13:36:36 -0500
commit8fca7beaf35cfc438d5d29f352f80dd18efe7d2e (patch)
tree1fee5e822db6292be2d1629edf20d6239524f365 /main.c
parentdd91d6c72625cc7ed2ec5954a5cbca35fd7655d4 (diff)
file selector now actually working
also made stristr work with UTF-8
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index f014d89..39e582b 100644
--- a/main.c
+++ b/main.c
@@ -81,6 +81,8 @@ int main(int argc, char **argv) {
#endif
setlocale(LC_ALL, ""); // allow unicode
+ printf("%d\n", !!stristr("foo", "x"));
+
{ // get local data directory
#if _WIN32
wchar_t *appdata = NULL;