diff options
-rw-r--r-- | src/base/image.cpp | 3 | ||||
-rw-r--r-- | src/base/song.cpp | 4 | ||||
-rw-r--r-- | test/base/songloading.cpp | 2 |
3 files changed, 5 insertions, 4 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()) { diff --git a/test/base/songloading.cpp b/test/base/songloading.cpp index 94690cc3..03824669 100644 --- a/test/base/songloading.cpp +++ b/test/base/songloading.cpp @@ -63,7 +63,7 @@ namespace usdx Song *song = Songloader::get_instance()->load_header("testdata/testsong_correct.txt"); CPPUNIT_ASSERT( "Test Ă„rtist" == song->get_artist() ); - // FIXIT: unicode length is not counted correctly + // FIXIT: unicode length is not counted correctly // CPPUNIT_ASSERT( 11 == song->get_artist().length() ); CPPUNIT_ASSERT( "Test Title" == song->get_title() ); CPPUNIT_ASSERT( "Test.mp3" == song->get_mp3() ); |