From 3c4980ed82df11752379ae10fc2bb97590af187f Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 25 Dec 2023 18:42:58 +0100 Subject: Reformatted pprintf_dohightlight() --- FICS/utils.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index 9a26008..284eefb 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -238,16 +238,17 @@ PUBLIC int pprintf(int p, char *format, ...) return retval; } -PUBLIC void pprintf_dohightlight(int p) +PUBLIC void +pprintf_dohightlight(int p) { - if (parray[p].highlight & 0x01) - pprintf(p, "\033[7m"); - if (parray[p].highlight & 0x02) - pprintf(p, "\033[1m"); - if (parray[p].highlight & 0x04) - pprintf(p, "\033[4m"); - if (parray[p].highlight & 0x08) - pprintf(p, "\033[2m"); + if (parray[p].highlight & 0x01) + pprintf(p, "\033[7m"); + if (parray[p].highlight & 0x02) + pprintf(p, "\033[1m"); + if (parray[p].highlight & 0x04) + pprintf(p, "\033[4m"); + if (parray[p].highlight & 0x08) + pprintf(p, "\033[2m"); } PUBLIC int -- cgit v1.2.3