mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 21:17:49 +00:00
Add failsafe and .song extension
This commit is contained in:
@@ -107,7 +107,8 @@ static bool IsSongExtension(const char* path, const char*& dotOut)
|
||||
if (ext)
|
||||
{
|
||||
if (!CompareCaseInsensitive(ext, ".son") ||
|
||||
!CompareCaseInsensitive(ext, ".sng"))
|
||||
!CompareCaseInsensitive(ext, ".sng") ||
|
||||
!CompareCaseInsensitive(ext, ".song"))
|
||||
{
|
||||
dotOut = ext;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user