summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2008-02-18 08:52:06 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2008-02-18 08:52:06 +0000
commit7e1188fd2322827d818560570cbc227d03225e59 (patch)
tree3591dfeb56265ad5eafd85ffdea3f325eeffc3f3 /src
parent0ce528a09834b2f70ac923b22fd9def4378c5ccc (diff)
downloadmana-7e1188fd2322827d818560570cbc227d03225e59.tar.gz
mana-7e1188fd2322827d818560570cbc227d03225e59.tar.bz2
mana-7e1188fd2322827d818560570cbc227d03225e59.tar.xz
mana-7e1188fd2322827d818560570cbc227d03225e59.zip
Fixed image name.
Diffstat (limited to 'src')
-rw-r--r--src/sound.cpp3
-rw-r--r--src/utils/strprintf.cpp2
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>