fix check_path not using path variable

This commit is contained in:
Ján Mlynek 2014-01-03 23:22:49 +01:00
parent f76a3db272
commit e38f9d22f6

View File

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