diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sound.cpp | 3 | ||||
-rw-r--r-- | src/utils/strprintf.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/sound.cpp b/src/sound.cpp index 063195ae..b87a550f 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -145,7 +145,8 @@ void Sound::playMusic(const std::string &filename, int loop) Mix_PlayMusic(mMusic, loop); } else { - logger->log("Sound::startMusic() Warning: error loading file."); + logger->log("Sound::startMusic() Warning: error loading file: ", + Mix_GetError()); } } diff --git a/src/utils/strprintf.cpp b/src/utils/strprintf.cpp index 547d9712..352696f1 100644 --- a/src/utils/strprintf.cpp +++ b/src/utils/strprintf.cpp @@ -22,7 +22,7 @@ */ #ifndef _TMW_UTILS_TOSTRING_H -#define _TMW_UTISL_TOSTRING_H +#define _TMW_UTILS_TOSTRING_H #include <cstdarg> |