Fix for __unix__ compilation -- section not changed with the rest of fe2dcfd588

This commit is contained in:
Kyle Evans 2015-12-30 01:09:11 -06:00
parent 3ec6ad5018
commit 6c13ba40ac

View file

@ -168,7 +168,7 @@ static Instrument *load_instrument(Renderer *song, const char *name, int percuss
{ {
#ifdef __unix__ // Windows isn't case-sensitive. #ifdef __unix__ // Windows isn't case-sensitive.
tmp.ToUpper(); tmp.ToUpper();
if ((fp = open_filereader(tmp, openmode, NULL)) == NULL) if ((fp = pathExpander.openFileReader(tmp, NULL)) == NULL)
#endif #endif
{ {
noluck = true; noluck = true;