From e38f9d22f6f08fa0feb098aad76cd54cbcbeb05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Mlynek?= Date: Fri, 3 Jan 2014 23:22:49 +0100 Subject: [PATCH] fix check_path not using path variable --- obs/platform-x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs/platform-x11.cpp b/obs/platform-x11.cpp index 51257a2b9..f17dbce4c 100644 --- a/obs/platform-x11.cpp +++ b/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());