1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-19 13:53:21 +01:00

format fixes

This commit is contained in:
jfreegman
2019-12-07 23:17:02 -05:00
parent ddeca171a0
commit 116bff8cef
7 changed files with 17 additions and 15 deletions

View File

@@ -393,7 +393,7 @@ static void mplex_timer_handler(Tox *m)
char status_str[MAX_STR_SIZE];
char note_str[MAX_STR_SIZE];
const char *status = new_status == TOX_USER_STATUS_AWAY ? "away" :
new_status == TOX_USER_STATUS_BUSY ? "busy" : "online";
new_status == TOX_USER_STATUS_BUSY ? "busy" : "online";
snprintf(status_str, sizeof(status_str), "/status %s", status);
snprintf(note_str, sizeof(status_str), "/note %s", new_note);