Преглед изворни кода

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

Using "*.*" as a search string is a windows-specific search term.  "*"
should be used instead.
jp9000 пре 9 година
родитељ
комит
d5ad621dd1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      UI/obs-app.cpp

+ 1 - 1
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;