mirror of
https://github.com/correl/m5paper.git
synced 2024-12-02 19:19:51 +00:00
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