mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 08:13:02 +01:00
increase line message buffer size
This commit is contained in:
parent
688564cfc2
commit
e384f87a04
@ -36,7 +36,7 @@ struct line_info {
|
|||||||
uint8_t timestamp[TIME_STR_SIZE];
|
uint8_t timestamp[TIME_STR_SIZE];
|
||||||
uint8_t name1[TOXIC_MAX_NAME_LENGTH];
|
uint8_t name1[TOXIC_MAX_NAME_LENGTH];
|
||||||
uint8_t name2[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 type;
|
||||||
uint8_t bold;
|
uint8_t bold;
|
||||||
uint8_t colour;
|
uint8_t colour;
|
||||||
|
@ -304,7 +304,7 @@ static void do_connection(Tox *m, ToxWindow *prompt)
|
|||||||
|
|
||||||
static void load_friendlist(Tox *m)
|
static void load_friendlist(Tox *m)
|
||||||
{
|
{
|
||||||
int32_t i;
|
uint32_t i;
|
||||||
uint32_t numfriends = tox_count_friendlist(m);
|
uint32_t numfriends = tox_count_friendlist(m);
|
||||||
|
|
||||||
for (i = 0; i < numfriends; ++i)
|
for (i = 0; i < numfriends; ++i)
|
||||||
@ -506,7 +506,6 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
memset(user_settings, 0, sizeof(struct user_settings));
|
memset(user_settings, 0, sizeof(struct user_settings));
|
||||||
|
|
||||||
int settings_err = settings_load(user_settings, NULL);
|
int settings_err = settings_load(user_settings, NULL);
|
||||||
|
|
||||||
init_term();
|
init_term();
|
||||||
|
Loading…
Reference in New Issue
Block a user