From 620f1414ae51d569196d56f4430860c4c876bf0c Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 3 Jan 2024 02:41:52 +0100 Subject: Reformatted functions --- FICS/comproc.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'FICS/comproc.c') diff --git a/FICS/comproc.c b/FICS/comproc.c index c881732..0ddbb63 100644 --- a/FICS/comproc.c +++ b/FICS/comproc.c @@ -1343,20 +1343,24 @@ PUBLIC int com_flip(int p, param_list param) return COM_OK_NOPROMPT; } -PUBLIC int com_highlight(int p, param_list param) +PUBLIC int +com_highlight(int p, param_list param) { - pprintf(p, "Obsolete command. Please do set highlight <0-15>.\n"); - return COM_OK; + pprintf(p, "Obsolete command. Please do set highlight <0-15>.\n"); + return COM_OK; } -PUBLIC int com_style(int p, param_list param) +PUBLIC int +com_style(int p, param_list param) { - int retval; - ASSERT(param[0].type == TYPE_INT); - if ((retval = pcommand(p, "set style %d", param[0].val.integer)) != COM_OK) - return retval; - else - return COM_OK_NOPROMPT; + int retval; + + ASSERT(param[0].type == TYPE_INT); + + if ((retval = pcommand(p, "set style %d", param[0].val.integer)) != + COM_OK) + return retval; + return COM_OK_NOPROMPT; } PUBLIC int -- cgit v1.2.3