]>
Commit | Line | Data |
---|---|---|
033017fd JB |
1 | --- cinelerra-4/plugins/titler/title.C.orig 2008-08-07 05:33:08.000000000 +0200 |
2 | +++ cinelerra-4/plugins/titler/title.C 2008-08-28 18:23:34.662127605 +0200 | |
3 | @@ -48,7 +48,7 @@ | |
5ba5c72b JB |
4 | #include <byteswap.h> |
5 | #include <iconv.h> | |
a601b4a3 | 6 | |
033017fd | 7 | -#define FONT_SEARCHPATH "/fonts" |
a601b4a3 | 8 | +#define FONT_SEARCHPATH "/usr/share/fonts" |
5ba5c72b JB |
9 | |
10 | REGISTER_PLUGIN(TitleMain) | |
11 | ||
033017fd JB |
12 | @@ -982,8 +982,7 @@ |
13 | fonts = new ArrayList<FontEntry*>; | |
14 | char find_command[BCTEXTLEN]; | |
15 | sprintf(find_command, | |
16 | - "find %s%s -name 'fonts.dir' -print -exec cat {} \\;", | |
17 | - PluginClient::get_plugin_dir(), | |
18 | + "find %s -name 'fonts.dir' -print -exec cat {} \\;", | |
19 | FONT_SEARCHPATH); | |
20 | FILE *in = popen(find_command, "r"); | |
21 | char current_dir[BCTEXTLEN]; |