if ( dictionary == NULL )
{
char temp[ 1024 ];
- sprintf( temp, "%s/fezzik.dict", mlt_factory_prefix( ) );
+ sprintf( temp, "%s/fezzik.dict", mlt_environment( "MLT_DATA" ) );
dictionary = mlt_properties_load( temp );
mlt_factory_register_for_clean_up( dictionary, ( mlt_destructor )mlt_properties_close );
}
if ( normalisers == NULL )
{
char temp[ 1024 ];
- sprintf( temp, "%s/fezzik.ini", mlt_factory_prefix( ) );
+ sprintf( temp, "%s/fezzik.ini", mlt_environment( "MLT_DATA" ) );
normalisers = mlt_properties_load( temp );
mlt_factory_register_for_clean_up( normalisers, ( mlt_destructor )mlt_properties_close );
}