projects
/
goodguy
/
history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9db053d
)
add ffmpeg/ladspa plugin custom picon support
author
Good Guy
<
[email protected]
>
Thu, 17 Nov 2016 15:54:43 +0000
(08:54 -0700)
committer
Good Guy
<
[email protected]
>
Thu, 17 Nov 2016 15:54:43 +0000
(08:54 -0700)
cinelerra-5.1/cinelerra/pluginserver.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/cinelerra/pluginserver.C
b/cinelerra-5.1/cinelerra/pluginserver.C
index 9667ef7726e4c2e1b74924500e1322dc3083315f..cd69dfe7b4a6f899f351402446b7606114d7d086 100644
(file)
--- a/
cinelerra-5.1/cinelerra/pluginserver.C
+++ b/
cinelerra-5.1/cinelerra/pluginserver.C
@@
-1208,7
+1208,7
@@
int PluginServer::get_theme_png_path(char *png_path, const char *theme_dir)
char *bp = strrchr(path, '/');
if( !bp ) bp = path; else ++bp;
char *sp = strrchr(bp,'.');
- if( !sp
|| ( strcmp(sp, ".plugin") && strcmp(sp,".so") ) ) return 0
;
+ if( !sp
) sp = bp + strlen(bp)
;
char *cp = png_path, *dp = bp;
cp += sprintf(cp,"%s/%s/", mwindow->preferences->plugin_dir, theme_dir);
while( dp < sp ) *cp++ = *dp++;