Whitespace fixes

This commit is contained in:
Dmitry Marakasov 2017-07-07 22:38:22 +03:00
parent 41c96ba25b
commit d0ac22a6fd
2 changed files with 3 additions and 3 deletions

View File

@ -22,6 +22,6 @@
#include <SDL2pp/Color.hh> #include <SDL2pp/Color.hh>
std::ostream& operator<<(std::ostream& stream, const SDL2pp::Color& color) { std::ostream& operator<<(std::ostream& stream, const SDL2pp::Color& color) {
stream << "[r:" << static_cast<int>(color.r) << ",g:" << static_cast<int>(color.g) << ",b:" << static_cast<int>(color.b) << ",a:" << static_cast<int>(color.a) << "]"; stream << "[r:" << static_cast<int>(color.r) << ",g:" << static_cast<int>(color.g) << ",b:" << static_cast<int>(color.b) << ",a:" << static_cast<int>(color.a) << "]";
return stream; return stream;
} }

View File

@ -198,7 +198,7 @@ Renderer& Renderer::SetDrawColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a) {
} }
Renderer& Renderer::SetDrawColor(const Color& color) { Renderer& Renderer::SetDrawColor(const Color& color) {
return SetDrawColor(color.r, color.g, color.b, color.a); return SetDrawColor(color.r, color.g, color.b, color.a);
} }
Renderer& Renderer::SetTarget() { Renderer& Renderer::SetTarget() {