From f9a36441e0527fab625e41233b0a3f7be3099b5a Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Sun, 23 May 2021 17:26:18 +0000 Subject: Use color enum instead of hardcoded value --- handle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handle.c b/handle.c index d6eeaab..09b28d5 100644 --- a/handle.c +++ b/handle.c @@ -676,12 +676,12 @@ static void handleTopic(struct Message *msg) { catf(&cat, "%ls", new); swap(&new[pre], &nul); swap(osuf, &nul); - catf(&cat, "\399,%02d%ls", Brown, &old[pre]); + catf(&cat, "\3%02d,%02d%ls", Default, Brown, &old[pre]); swap(osuf, &nul); swap(nsuf, &nul); - catf(&cat, "\399,%02d%ls", Green, &new[pre]); + catf(&cat, "\3%02d,%02d%ls", Default, Green, &new[pre]); swap(nsuf, &nul); - catf(&cat, "\399,99%ls", nsuf); + catf(&cat, "\3%02d,%02d%ls", Default, Default, nsuf); plain: topicComplete(id, msg->params[1]); -- cgit 1.4.1-2-gfad0