1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 16:57:46 +02:00

spacing didn't match outgoing msgs

This commit is contained in:
Jfreegman 2013-08-05 18:38:55 -04:00
parent 9b7dafc16f
commit 251a65ed0a

2
chat.c
View File

@ -52,7 +52,7 @@ static void chat_onMessage(ToxWindow* self, int num, uint8_t* msg, uint16_t len)
fix_name(nick);
wattron(ctx->history, COLOR_PAIR(2));
wprintw(ctx->history, "[%02d:%02d:%02d] ", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec);
wprintw(ctx->history, "[%02d:%02d:%02d] ", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec);
wattroff(ctx->history, COLOR_PAIR(2));
wattron(ctx->history, COLOR_PAIR(4));
wprintw(ctx->history, "%s: ", nick);