First commit

This commit is contained in:
Alexander Bock
2020-08-30 22:00:13 +02:00
parent 19c110a4c2
commit d0508be631
9 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -687,7 +687,7 @@ void LuaConsole::render() {
// Since the overflow is positive, at least one character needs to be removed.
const size_t nCharsOverflow = static_cast<size_t>(std::min(
std::max(1.f, overflow / _font->glyph('m')->width()),
std::max(1.f, overflow / _font->glyph('m')->width),
static_cast<float>(currentCommand.size())
));