Fix typo in Text app

This commit is contained in:
Correl Roush 2023-01-30 12:00:54 -05:00
parent 6d07f7ecf9
commit 409c25b750

View file

@ -267,7 +267,7 @@ protected:
// End of the input, print it if we can.
String word = s.substring(next);
if (display.textWidth(words) + display.getCursorX() > display.width()) {
if (display.textWidth(word) + display.getCursorX() > display.width()) {
display.print("\n");
if (endOfPage(display)) {
break;