mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-27 22:49:39 -06:00
Use the correct buffer size in the ScreenLog (closes #1330)
This commit is contained in:
@@ -1447,7 +1447,7 @@ void RenderEngine::renderScreenLog() {
|
||||
|
||||
const glm::vec4 white(0.9f, 0.9f, 0.9f, alpha);
|
||||
|
||||
std::array<char, 15 + CategoryLength + 3> buf;
|
||||
std::array<char, 15 + 1 + CategoryLength + 3> buf;
|
||||
{
|
||||
std::fill(buf.begin(), buf.end(), char(0));
|
||||
char* end = fmt::format_to(
|
||||
|
||||
Reference in New Issue
Block a user