Skip to content

Commit

Permalink
UTIL: fixed toString call for console color
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed Feb 8, 2020
1 parent 550d287 commit b481005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/util/Console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ core::String Console::getColor(ConsoleColor color) {
core_assert(color >= 0 && color <= (int)SDL_arraysize(colors));
core::String s;
s += _colorMark;
s += core::string::toString(color);
s += core::string::toString((int)color);
return s;
}

Expand Down

0 comments on commit b481005

Please sign in to comment.