expand msg file limit

This commit is contained in:
sonil 2022-10-25 18:04:48 +08:00
parent ad9b8586e9
commit 74a80177b0
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ bool messageListLoad(MessageList* messageList, const char* path)
File* file_ptr;
char num[1024];
char audio[1024];
char text[1024];
char text[4096];
int rc;
bool success;
MessageListItem entry;
@ -483,7 +483,7 @@ static int _message_load_field(File* file, char* str)
*(str + len) = ch;
len++;
if (len > 1024) {
if (len > 4096) {
debugPrint("\nError reading message file - text exceeds limit.\n");
return 4;
}