mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
- fixed compilation of POSIX targets
source/common/music/music.cpp:118:52: error: call of overloaded ‘FString(FName&)’ is ambiguous source/common/utility/zstring.h:133:2: note: candidate: FString::FString(char) source/common/utility/zstring.h:131:2: note: candidate: FString::FString(const char*)
This commit is contained in:
parent
212cfde186
commit
d56fb25975
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ FString G_SetupFilenameBasedMusic(const char* fn, const char* defmusic)
|
||||||
FStringf test("%s.%s", name.GetChars(), ext.GetChars());
|
FStringf test("%s.%s", name.GetChars(), ext.GetChars());
|
||||||
if (FileExists(test)) return test;
|
if (FileExists(test)) return test;
|
||||||
#ifdef __unix__
|
#ifdef __unix__
|
||||||
test.Format("%s.%s", name.GetChars(), FString(ext).MakeLower().GetChars());
|
test.Format("%s.%s", name.GetChars(), FString(ext.GetChars()).MakeLower().GetChars());
|
||||||
if (FileExists(test)) return test;
|
if (FileExists(test)) return test;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue