Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added /usr/local/share/timidity to the default path. That's actually …
…where local timidity files are supposed to be installed nowdays.
  • Loading branch information
slouken committed Jan 1, 2012
1 parent 8c37337 commit bb2e611
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions timidity/common.c
Expand Up @@ -107,6 +107,9 @@ FILE *open_file(const char *name, int decompress, int noise_mode)
#endif
#ifdef DEFAULT_PATH2
add_to_pathlist(DEFAULT_PATH2);
#endif
#ifdef DEFAULT_PATH3
add_to_pathlist(DEFAULT_PATH3);
#endif
}

Expand Down
3 changes: 2 additions & 1 deletion timidity/config.h
Expand Up @@ -168,7 +168,8 @@ typedef char int8;
#else
#define DEFAULT_PATH "/etc/timidity"
#define DEFAULT_PATH1 "/usr/share/timidity"
#define DEFAULT_PATH2 "/usr/local/lib/timidity"
#define DEFAULT_PATH2 "/usr/local/share/timidity"
#define DEFAULT_PATH3 "/usr/local/lib/timidity"
#endif

/* These affect general volume */
Expand Down

0 comments on commit bb2e611

Please sign in to comment.