Bläddra i källkod

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 år sedan
förälder
incheckning
d5ad621dd1
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;