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