#include "bcsignals.h"
#include "bcwindowbase.inc"
#include "cstrdup.h"
+#include "file.h"
#include "filesystem.h"
#include "filexml.h"
#include "keyframe.h"
FileXML file;
char path[BCTEXTLEN];
char string[BCTEXTLEN];
- sprintf(path, "%s%s", BCASTDIR, PRESETS_FILE);
+ sprintf(path, "%s/%s", File::get_config_path(), PRESETS_FILE);
FileSystem fs;
fs.complete_path(path);
file.read_from_file(path);
file.terminate_string();
char path[BCTEXTLEN];
- sprintf(path, "%s%s", BCASTDIR, PRESETS_FILE);
+ sprintf(path, "%s/%s", File::get_config_path(), PRESETS_FILE);
FileSystem fs;
fs.complete_path(path);
file.write_to_file(path);