#include "clip.h"
#include "bccmodels.h"
+#include "file.h"
#include "filexml.h"
#include "filesystem.h"
#include "freetype/ftbbox.h"
{
char directory[1024], text_path[1024];
// set the default directory
- sprintf(directory, "%stitle.rc", BCASTDIR);
+ sprintf(directory, "%s/title.rc", File::get_config_path());
// load the defaults
defaults = new Defaults(directory);
// Store text in separate path to isolate special characters
FileSystem fs;
- sprintf(text_path, "%stitle_text.rc", BCASTDIR);
+ sprintf(text_path, "%s/title_text.rc", File::get_config_path());
fs.complete_path(text_path);
FILE *fd = fopen(text_path, "rb");
if(fd)
// Store text in separate path to isolate special characters
FileSystem fs;
- sprintf(text_path, "%stitle_text.rc", BCASTDIR);
+ sprintf(text_path, "%s/title_text.rc", File::get_config_path());
fs.complete_path(text_path);
FILE *fd = fopen(text_path, "wb");
if(fd)