瀏覽代碼

fix check_path not using path variable

Ján Mlynek 11 年之前
父節點
當前提交
e38f9d22f6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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());