add system build to autoconf/automake
[goodguy/history.git] / cinelerra-5.1 / plugins / reframe / reframe.C
index 621c59a4005e8f5a91f6a2a02633a742127c5740..c9be46890ef07fd99bc653dd5ede2a65a9e3771b 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "bcdisplayinfo.h"
 #include "bchash.h"
+#include "file.h"
 #include "language.h"
 #include "mainprogress.h"
 #include "reframe.h"
@@ -59,7 +60,7 @@ int ReFrame::load_defaults()
        char directory[1024];
 
 // set the default directory
-       sprintf(directory, "%sreframe.rc", BCASTDIR);
+       sprintf(directory, "%s/reframe.rc", File::get_config_path());
 
 // load the defaults