X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftimestretch%2Ftimestretch.C;h=1cfa5cc30e0e99b489240f397961a20574e0a279;hb=c9de74551f43dad1b898603c0827985773c0cf9d;hp=bc9bc5ea25a0610481d5268229e650073e40f52e;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/timestretch/timestretch.C b/cinelerra-5.1/plugins/timestretch/timestretch.C index bc9bc5ea..1cfa5cc3 100644 --- a/cinelerra-5.1/plugins/timestretch/timestretch.C +++ b/cinelerra-5.1/plugins/timestretch/timestretch.C @@ -22,6 +22,7 @@ #include "bcdisplayinfo.h" #include "clip.h" #include "bchash.h" +#include "file.h" #include "language.h" #include "mainprogress.h" #include "resample.h" @@ -485,7 +486,7 @@ int TimeStretch::load_defaults() char directory[BCTEXTLEN]; // set the default directory - sprintf(directory, "%stimestretch.rc", BCASTDIR); + sprintf(directory, "%s/timestretch.rc", File::get_config_path()); // load the defaults defaults = new BC_Hash(directory); defaults->load();