mirror of
https://github.com/correl/m5paper.git
synced 2024-12-28 19:19:17 +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.
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue