aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-01-03 02:41:52 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-01-03 02:41:52 +0100
commit620f1414ae51d569196d56f4430860c4c876bf0c (patch)
tree3c922159a7551344d30c9fec77260207f2e520cf /FICS
parent6561f8849002bd3406ae0515d4c8a96a9b7d2f53 (diff)
Reformatted functions
Diffstat (limited to 'FICS')
-rw-r--r--FICS/comproc.c24
1 files changed, 14 insertions, 10 deletions
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