From d5ad621dd1746125973ded96ce852ac6db0ece01 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 20 Oct 2016 12:41:56 -0700 Subject: [PATCH] UI: Fix --profile option not working on non-windows Using "*.*" as a search string is a windows-specific search term. "*" should be used instead. --- UI/obs-app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index 90253dab2..c236a2b3f 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -451,7 +451,7 @@ static string GetProfileDirFromName(const char *name) if (GetConfigPath(path, sizeof(path), "obs-studio/basic/profiles") <= 0) return outputPath; - strcat(path, "/*.*"); + strcat(path, "/*"); if (os_glob(path, 0, &glob) != 0) return outputPath;