aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/base/image.cpp3
-rw-r--r--src/base/song.cpp4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/base/image.cpp b/src/base/image.cpp
index 753c8ec3..448f4852 100644
--- a/src/base/image.cpp
+++ b/src/base/image.cpp
@@ -64,7 +64,8 @@ namespace usdx
{
BinaryFile file(filename);
- SDL_RWops* source = SDL_RWFromConstMem(file.get_content(), file.get_filesize());
+ SDL_RWops* source = SDL_RWFromConstMem(file.get_content(),
+ file.get_filesize());
surface = IMG_Load_RW(source, 1);
if (surface == NULL) {
diff --git a/src/base/song.cpp b/src/base/song.cpp
index af7e90a5..51798115 100644
--- a/src/base/song.cpp
+++ b/src/base/song.cpp
@@ -39,7 +39,7 @@ namespace usdx
}
Song::Song(const boost::filesystem::wpath& filename,
- const std::map<std::string, std::string>& header) :
+ const std::map<std::string, std::string>& header) :
filename(filename), custom_header_tags(header)
{
std::map<std::string, std::string>::iterator it;
@@ -100,7 +100,7 @@ namespace usdx
std::string Song::get_header_tag(const std::string& tag, const bool required)
{
- std::map<std::string, std::string>::iterator it;
+ std::map<std::string, std::string>::iterator it;
std::string result = "";
if ((it = custom_header_tags.find(tag)) != custom_header_tags.end()) {