aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-25 18:39:14 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-25 18:39:14 +0100
commitdabc16db56f9f50657e5611686862016776df3cc (patch)
treea488017c69033c51bab648c7ef7cac28d61bf279 /FICS
parentb1f3b956c22915fdacc972435014719e2eb118c0 (diff)
Reformatted sprintf_dohightlight()
Diffstat (limited to 'FICS')
-rw-r--r--FICS/utils.c20
1 files 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