--- SDL_mixer-1.2.12.old/timidity/timidity.c +++ SDL_mixer-1.2.12/timidity/timidity.c @@ -283,6 +283,11 @@ int Timidity_Init(int rate, int format, int channels, int samples) { const char *env = getenv("TIMIDITY_CFG"); + +#ifndef __WIN32__ /* Not MS-Windows */ + add_to_pathlist ("__META_PRODTREE__/timidity/etc"); +#endif /* endif !defined __WIN32__ */ + if (!env || read_config_file(env)<0) { if (read_config_file(CONFIG_FILE)<0) { if (read_config_file(CONFIG_FILE_ETC)<0) {