From 5dce9e6108434ee0c6eb42fa79c95c5e3258963f Mon Sep 17 00:00:00 2001 From: Stefan Haustein Date: Wed, 21 Oct 2020 23:42:01 +0200 Subject: [PATCH] Fix initialization issue #87 (replicating an earlier pull request that wasn't submitted for some reason) --- src/main/cpp/tiv.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/cpp/tiv.cpp b/src/main/cpp/tiv.cpp index 40ac710..4cc863f 100644 --- a/src/main/cpp/tiv.cpp +++ b/src/main/cpp/tiv.cpp @@ -193,9 +193,9 @@ const unsigned int BITMAPS[] = { }; -struct CharData { - std::array fgColor = {0}; - std::array bgColor = {0}; +struct CharData { + std::array fgColor = std::array{0, 0, 0}; + std::array bgColor = std::array{0, 0, 0}; int codePoint; };