1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-09-29 04:25:36 +02:00

increase line message buffer size

This commit is contained in:
Jfreegman 2014-04-10 18:16:27 -04:00
parent 688564cfc2
commit e384f87a04
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63
2 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,7 @@ struct line_info {
uint8_t timestamp[TIME_STR_SIZE];
uint8_t name1[TOXIC_MAX_NAME_LENGTH];
uint8_t name2[TOXIC_MAX_NAME_LENGTH];
uint8_t msg[MAX_STR_SIZE];
uint8_t msg[TOX_MAX_MESSAGE_LENGTH];
uint8_t type;
uint8_t bold;
uint8_t colour;

View File

@ -304,7 +304,7 @@ static void do_connection(Tox *m, ToxWindow *prompt)
static void load_friendlist(Tox *m)
{
int32_t i;
uint32_t i;
uint32_t numfriends = tox_count_friendlist(m);
for (i = 0; i < numfriends; ++i)
@ -506,7 +506,6 @@ int main(int argc, char *argv[])
}
memset(user_settings, 0, sizeof(struct user_settings));
int settings_err = settings_load(user_settings, NULL);
init_term();