expand msg file limit
This commit is contained in:
parent
ad9b8586e9
commit
74a80177b0
|
@ -181,7 +181,7 @@ bool messageListLoad(MessageList* messageList, const char* path)
|
||||||
File* file_ptr;
|
File* file_ptr;
|
||||||
char num[1024];
|
char num[1024];
|
||||||
char audio[1024];
|
char audio[1024];
|
||||||
char text[1024];
|
char text[4096];
|
||||||
int rc;
|
int rc;
|
||||||
bool success;
|
bool success;
|
||||||
MessageListItem entry;
|
MessageListItem entry;
|
||||||
|
@ -483,7 +483,7 @@ static int _message_load_field(File* file, char* str)
|
||||||
*(str + len) = ch;
|
*(str + len) = ch;
|
||||||
len++;
|
len++;
|
||||||
|
|
||||||
if (len > 1024) {
|
if (len > 4096) {
|
||||||
debugPrint("\nError reading message file - text exceeds limit.\n");
|
debugPrint("\nError reading message file - text exceeds limit.\n");
|
||||||
return 4;
|
return 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue