1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 00:36:45 +02:00

Convert deprecated uppercase enums to camelcase

This commit is contained in:
jfreegman
2018-10-09 23:06:57 -04:00
parent 94d22a8853
commit 0fea930c24
26 changed files with 107 additions and 103 deletions

View File

@ -151,7 +151,7 @@ void cqueue_try_send(ToxWindow *self, Tox *m)
return;
}
TOX_MESSAGE_TYPE type = msg->type == OUT_MSG ? TOX_MESSAGE_TYPE_NORMAL : TOX_MESSAGE_TYPE_ACTION;
Tox_Message_Type type = msg->type == OUT_MSG ? TOX_MESSAGE_TYPE_NORMAL : TOX_MESSAGE_TYPE_ACTION;
msg->receipt = tox_friend_send_message(m, self->num, type, (uint8_t *) msg->message, msg->len, NULL);
msg->last_send_try = get_unix_time();
}