diff --git a/libraries/libwhb/src/console.c b/libraries/libwhb/src/console.c index c37267fe..4da5bb8c 100644 --- a/libraries/libwhb/src/console.c +++ b/libraries/libwhb/src/console.c @@ -26,7 +26,7 @@ ConsoleAddLine(const char *line) { int length = strlen(line); - if (length > LINE_LENGTH) { + if (length >= LINE_LENGTH) { length = LINE_LENGTH - 1; }