Fix typo in Text app
This commit is contained in:
parent
6d07f7ecf9
commit
409c25b750
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ protected:
|
||||||
// End of the input, print it if we can.
|
// End of the input, print it if we can.
|
||||||
|
|
||||||
String word = s.substring(next);
|
String word = s.substring(next);
|
||||||
if (display.textWidth(words) + display.getCursorX() > display.width()) {
|
if (display.textWidth(word) + display.getCursorX() > display.width()) {
|
||||||
display.print("\n");
|
display.print("\n");
|
||||||
if (endOfPage(display)) {
|
if (endOfPage(display)) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue