mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 18:11:01 -05:00
First commit
This commit is contained in:
@@ -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())
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user