UI: Fix --profile option not working on non-windows
Using "*.*" as a search string is a windows-specific search term. "*" should be used instead.
This commit is contained in:
parent
a7ef10f7ea
commit
d5ad621dd1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user