Use color enum instead of hardcoded value
parent
7bacf63d9e
commit
f9a36441e0
6
handle.c
6
handle.c
|
@ -676,12 +676,12 @@ static void handleTopic(struct Message *msg) {
|
||||||
catf(&cat, "%ls", new);
|
catf(&cat, "%ls", new);
|
||||||
swap(&new[pre], &nul);
|
swap(&new[pre], &nul);
|
||||||
swap(osuf, &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(osuf, &nul);
|
||||||
swap(nsuf, &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);
|
swap(nsuf, &nul);
|
||||||
catf(&cat, "\399,99%ls", nsuf);
|
catf(&cat, "\3%02d,%02d%ls", Default, Default, nsuf);
|
||||||
|
|
||||||
plain:
|
plain:
|
||||||
topicComplete(id, msg->params[1]);
|
topicComplete(id, msg->params[1]);
|
||||||
|
|
Loading…
Reference in New Issue