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:
jp9000 2016-10-20 12:41:56 -07:00
parent a7ef10f7ea
commit d5ad621dd1

View File

@ -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;