projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix cwin bksp=del key, fix mode keyframe in rev play, update ru
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
pluginserver.C
diff --git
a/cinelerra-5.1/cinelerra/pluginserver.C
b/cinelerra-5.1/cinelerra/pluginserver.C
index 2f227b203f428d853c1fcf9f7b63522c9b348a0c..2935ce9dfa6a81f263b8e0f7ef0537599037dd4d 100644
(file)
--- a/
cinelerra-5.1/cinelerra/pluginserver.C
+++ b/
cinelerra-5.1/cinelerra/pluginserver.C
@@
-29,6
+29,7
@@
#include "cwindow.h"
#include "edl.h"
#include "edlsession.h"
#include "cwindow.h"
#include "edl.h"
#include "edlsession.h"
+#include "file.h"
#include "floatautos.h"
#include "keyframes.h"
#include "localsession.h"
#include "floatautos.h"
#include "keyframes.h"
#include "localsession.h"
@@
-990,14
+991,10
@@
void PluginServer::get_defaults_path(char *path)
char *ptr2 = strrchr(get_path(), '.');
if(!ptr1) ptr1 = get_path();
if(!ptr2) ptr2 = get_path() + strlen(get_path());
char *ptr2 = strrchr(get_path(), '.');
if(!ptr1) ptr1 = get_path();
if(!ptr2) ptr2 = get_path() + strlen(get_path());
- char string2[BCTEXTLEN];
- char *ptr3 = string2;
- while(ptr1 < ptr2)
- {
- *ptr3++ = *ptr1++;
- }
+ char string2[BCTEXTLEN], *ptr3 = string2;
+ while( ptr1 < ptr2 ) *ptr3++ = *ptr1++;
*ptr3 = 0;
*ptr3 = 0;
- sprintf(path, "%s
%s.xml", BCASTDIR
, string2);
+ sprintf(path, "%s
/%s.xml", File::get_config_path()
, string2);
}
void PluginServer::save_defaults()
}
void PluginServer::save_defaults()