Browse Source

Merge pull request #18 from Ceropean/master

fix check_path not using path variable
Jim 12 years ago
parent
commit
b7eccedf8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      obs/platform-x11.cpp

+ 1 - 1
obs/platform-x11.cpp

@@ -28,7 +28,7 @@ using namespace std;
 static inline bool check_path(const char* data, const char *path, string &output)
 {
 	ostringstream str;
-	str << "/usr/local/share/obs-studio/" << data;
+	str << path << data;
 	output = str.str();
 		
 	printf("Attempted path: %s\n", output.c_str());