From 7e1188fd2322827d818560570cbc227d03225e59 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Mon, 18 Feb 2008 08:52:06 +0000 Subject: Fixed image name. --- ChangeLog | 5 +++++ src/sound.cpp | 3 ++- src/utils/strprintf.cpp | 2 +- tmw.cbp | 60 ++++++++++++++++++++++++------------------------- 4 files changed, 38 insertions(+), 32 deletions(-) diff --git a/ChangeLog b/ChangeLog index 57fd4b89..932654c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-18 Eugenio Favalli + + * data/graphics/sprites/hairstyle7-female.xml, src/sound.cpp, + src/utils/strprintf.cpp, tmw.cbp: Fixed image name. + 2008-02-13 Philipp Sehmisch * data/equipment.xml, data/items.xml, 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 diff --git a/tmw.cbp b/tmw.cbp index a6851949..f3189f66 100644 --- a/tmw.cbp +++ b/tmw.cbp @@ -1173,6 +1173,16 @@