Skip to content

Commit d2a4846

Browse files
authored
Merge pull request adafruit#1093 from cogliano/master
Increased buffer in wrapWord() to prevent crash
2 parents 66b53b0 + ff9a53b commit d2a4846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Feather_ePaper_Quotes/adafruit_feather_quote/adafruit_feather_quote.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int getStringLength(const char *str, int strlength = 0)
9090
// returns substring of wrapped text.
9191
char *wrapWord(const char *str, int linesize)
9292
{
93-
static char buff[255];
93+
static char buff[1024];
9494
int linestart = 0;
9595
static int lineend = 0;
9696
static int bufflen = 0;

0 commit comments

Comments
 (0)