Merge pull request #454 from kevans91/timidity-instrum-fix

Fix for __unix__ compilation -- section not changed with the rest of …
This commit is contained in:
coelckers 2015-12-30 09:16:46 +01:00
commit 2b1730deae

View file

@ -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;