diff --git a/libobs/util/platform-nix.c b/libobs/util/platform-nix.c index 7a77814db..88351ad75 100644 --- a/libobs/util/platform-nix.c +++ b/libobs/util/platform-nix.c @@ -98,7 +98,7 @@ char *os_get_config_path(const char *name) struct dstr path; dstr_init_copy(&path, path_ptr); - dstr_cat(&path, "."); + dstr_cat(&path, "/."); dstr_cat(&path, name); return path.array; } diff --git a/libobs/util/platform-windows.c b/libobs/util/platform-windows.c index 64ff36384..4ab43b2fc 100644 --- a/libobs/util/platform-windows.c +++ b/libobs/util/platform-windows.c @@ -135,7 +135,7 @@ uint64_t os_gettime_ns(void) return (uint64_t)time_val; } -/* returns %appdata%/[name] on windows */ +/* returns %appdata%\[name] on windows */ char *os_get_config_path(const char *name) { char *ptr;