]> git.pld-linux.org Git - packages/cinelerra.git/blob - cinelerra-fontsdir.patch
- updated
[packages/cinelerra.git] / cinelerra-fontsdir.patch
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 @@
4  #include <byteswap.h>
5  #include <iconv.h>
6  
7 -#define FONT_SEARCHPATH "/fonts"
8 +#define FONT_SEARCHPATH "/usr/share/fonts"
9  
10  REGISTER_PLUGIN(TitleMain)
11  
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];
This page took 0.025361 seconds and 3 git commands to generate.