aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-25 18:42:58 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-25 18:42:58 +0100
commit3c4980ed82df11752379ae10fc2bb97590af187f (patch)
tree6adb42e4dcb6bd4c44fe6853cea2d2b9c4e2a9f0 /FICS/utils.c
parent091fdca836452200257d01d6523b55d6bd4415d3 (diff)
Reformatted pprintf_dohightlight()
Diffstat (limited to 'FICS/utils.c')
-rw-r--r--FICS/utils.c19
1 files changed, 10 insertions, 9 deletions
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