diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/music.h | 2 | ||||
-rw-r--r-- | src/resources/soundeffect.h | 2 | ||||
-rw-r--r-- | src/resources/wallpaper.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/music.h b/src/resources/music.h index c0cf5abe..9d0a32af 100644 --- a/src/resources/music.h +++ b/src/resources/music.h @@ -25,7 +25,7 @@ #include "resources/resource.h" #ifdef __APPLE__ -#include <SDL_mixer/SDL_mixer.h> +#include <SDL/SDL_mixer.h> #else #include <SDL_mixer.h> #endif diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h index e7c832f4..fd4f50bd 100644 --- a/src/resources/soundeffect.h +++ b/src/resources/soundeffect.h @@ -25,7 +25,7 @@ #include "resources/resource.h" #ifdef __APPLE__ -#include <SDL_mixer/SDL_mixer.h> +#include <SDL/SDL_mixer.h> #else #include <SDL_mixer.h> #endif diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp index c8857745..f9fc69ee 100644 --- a/src/resources/wallpaper.cpp +++ b/src/resources/wallpaper.cpp @@ -103,7 +103,7 @@ void Wallpaper::loadWallpapers() // First, get the base filename of the image: std::string filename = *i; - unsigned int separator = filename.rfind("_"); + int separator = filename.rfind("_"); filename = filename.substr(0, separator); // Check that the base filename doesn't have any '%' markers. |