Put unknown numerics in parentheses

For some reason this makes it look so much better to me.
weechat-hashes
June McEnroe 2022-05-29 15:24:06 -04:00
parent fc518e301f
commit f7b3c2f8ca
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ static void handleReplyGeneric(struct Message *msg) {
}
char buf[1024];
char *ptr = buf, *end = &buf[sizeof(buf)];
ptr = seprintf(ptr, end, "\3%02d%s\3\t", Gray, msg->cmd);
ptr = seprintf(ptr, end, "\3%d(%s)\3\t", Gray, msg->cmd);
for (uint i = first; i < ParamCap && msg->params[i]; ++i) {
ptr = seprintf(
ptr, end, "%s%s", (i > first ? " " : ""), msg->params[i]