From 1ec8c29f8efc77f728c1f1b733966c6a4dfe9d6e Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 29 Nov 2011 04:57:31 +0100 Subject: code formatting --- src/base/image.cpp | 3 ++- src/base/song.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/base') 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& header) : + const std::map& header) : filename(filename), custom_header_tags(header) { std::map::iterator it; @@ -100,7 +100,7 @@ namespace usdx std::string Song::get_header_tag(const std::string& tag, const bool required) { - std::map::iterator it; + std::map::iterator it; std::string result = ""; if ((it = custom_header_tags.find(tag)) != custom_header_tags.end()) { -- cgit v1.2.3