diff options
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/utils.c | 20 |
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 |