Fix initialization issue #87 (replicating an earlier pull request that wasn't submitted for some reason)

This commit is contained in:
Stefan Haustein 2020-10-21 23:42:01 +02:00
parent 9566005db8
commit 5dce9e6108

View file

@ -193,9 +193,9 @@ const unsigned int BITMAPS[] = {
};
struct CharData {
std::array<int, 3> fgColor = {0};
std::array<int, 3> bgColor = {0};
struct CharData {
std::array<int, 3> fgColor = std::array<int, 3>{0, 0, 0};
std::array<int, 3> bgColor = std::array<int, 3>{0, 0, 0};
int codePoint;
};