Skip to content

Commit

Permalink
Fixed Patrice's path handling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 1, 2006
1 parent 49719d4 commit 8ef5995
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions timidity/common.c
Expand Up @@ -102,7 +102,7 @@ static FILE *try_to_open(char *name, int decompress, int noise_mode)
FILE *open_file(char *name, int decompress, int noise_mode)
{
FILE *fp;
PathList *plp=pathlist;
PathList *plp;
int l;
static int firsttime=1;

Expand Down Expand Up @@ -137,7 +137,8 @@ FILE *open_file(char *name, int decompress, int noise_mode)
return 0;
}
#endif


plp=pathlist;
if (name[0] != PATH_SEP)
while (plp) /* Try along the path then */
{
Expand Down

0 comments on commit 8ef5995

Please sign in to comment.