From dabc16db56f9f50657e5611686862016776df3cc Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 25 Dec 2023 18:39:14 +0100 Subject: Reformatted sprintf_dohightlight() --- FICS/utils.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/FICS/utils.c b/FICS/utils.c index eb37575..0870b45 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -269,17 +269,17 @@ PUBLIC int pprintf_highlight(int p, char *format, ...) return retval; } -PUBLIC void sprintf_dohightlight(int p, char *s) +PUBLIC void +sprintf_dohightlight(int p, char *s) { - - if (parray[p].highlight & 0x01) - strcat(s, "\033[7m"); - if (parray[p].highlight & 0x02) - strcat(s, "\033[1m"); - if (parray[p].highlight & 0x04) - strcat(s, "\033[4m"); - if (parray[p].highlight & 0x08) - strcat(s, "\033[2m"); + if (parray[p].highlight & 0x01) + strcat(s, "\033[7m"); + if (parray[p].highlight & 0x02) + strcat(s, "\033[1m"); + if (parray[p].highlight & 0x04) + strcat(s, "\033[4m"); + if (parray[p].highlight & 0x08) + strcat(s, "\033[2m"); } PUBLIC int -- cgit v1.2.3