Skip to content

Commit

Permalink
Fix a Travis compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Sep 10, 2016
1 parent 496c3f8 commit dac9bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl/utils.cpp
Expand Up @@ -75,7 +75,7 @@ SDL_Color int_to_color(const Uint32 rgb)

SDL_Color string_to_color(const std::string& color_string)
{
SDL_Color color = {0,0,0};
SDL_Color color = {0,0,0,0};

std::vector<Uint32> temp_rgb;
if(string2rgb(color_string, temp_rgb) && !temp_rgb.empty()) {
Expand Down

0 comments on commit dac9bcc

Please sign in to comment.