提交 d5ad621d 编写于 作者: J jp9000

UI: Fix --profile option not working on non-windows

Using "*.*" as a search string is a windows-specific search term.  "*"
should be used instead.
上级 a7ef10f7
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册