From 6c13ba40ac57136d63ba617f6e5f48a191a36696 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 30 Dec 2015 01:09:11 -0600 Subject: [PATCH] Fix for __unix__ compilation -- section not changed with the rest of fe2dcfd588596d53 --- src/timidity/instrum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timidity/instrum.cpp b/src/timidity/instrum.cpp index fdfa4fd646..fa93602678 100644 --- a/src/timidity/instrum.cpp +++ b/src/timidity/instrum.cpp @@ -168,7 +168,7 @@ static Instrument *load_instrument(Renderer *song, const char *name, int percuss { #ifdef __unix__ // Windows isn't case-sensitive. tmp.ToUpper(); - if ((fp = open_filereader(tmp, openmode, NULL)) == NULL) + if ((fp = pathExpander.openFileReader(tmp, NULL)) == NULL) #endif { noluck = true;