projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add system build to autoconf/automake
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
titler
/
title.C.stroker
diff --git
a/cinelerra-5.1/plugins/titler/title.C.stroker
b/cinelerra-5.1/plugins/titler/title.C.stroker
index 41ad7f1ae4009b8f27b9f79a63c81fef38c1208c..00bbd812d0319005f158f5a94db70243aa77ec18 100644
(file)
--- a/
cinelerra-5.1/plugins/titler/title.C.stroker
+++ b/
cinelerra-5.1/plugins/titler/title.C.stroker
@@
-5,6
+5,7
@@
#include "clip.h"
#include "bccmodels.h"
#include "clip.h"
#include "bccmodels.h"
+#include "file.h"
#include "filexml.h"
#include "filesystem.h"
#include "freetype/ftbbox.h"
#include "filexml.h"
#include "filesystem.h"
#include "freetype/ftbbox.h"
@@
-2067,7
+2068,7
@@
int TitleMain::load_defaults()
{
char directory[1024], text_path[1024];
// set the default directory
{
char directory[1024], text_path[1024];
// set the default directory
- sprintf(directory, "%s
title.rc", BCASTDIR
);
+ sprintf(directory, "%s
/title.rc", File::get_config_path()
);
// load the defaults
defaults = new Defaults(directory);
// load the defaults
defaults = new Defaults(directory);
@@
-2096,7
+2097,7
@@
int TitleMain::load_defaults()
// Store text in separate path to isolate special characters
FileSystem fs;
// Store text in separate path to isolate special characters
FileSystem fs;
- sprintf(text_path, "%s
title_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)
fs.complete_path(text_path);
FILE *fd = fopen(text_path, "rb");
if(fd)
@@
-2142,7
+2143,7
@@
int TitleMain::save_defaults()
// Store text in separate path to isolate special characters
FileSystem fs;
// Store text in separate path to isolate special characters
FileSystem fs;
- sprintf(text_path, "%s
title_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)
fs.complete_path(text_path);
FILE *fd = fopen(text_path, "wb");
if(fd)