From 6561f8849002bd3406ae0515d4c8a96a9b7d2f53 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 3 Jan 2024 02:39:55 +0100 Subject: Reformatted com_promote() --- FICS/comproc.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'FICS') diff --git a/FICS/comproc.c b/FICS/comproc.c index 4af0091..c881732 100644 --- a/FICS/comproc.c +++ b/FICS/comproc.c @@ -1359,14 +1359,17 @@ PUBLIC int com_style(int p, param_list param) return COM_OK_NOPROMPT; } -PUBLIC int com_promote(int p, param_list param) +PUBLIC int +com_promote(int p, param_list param) { - int retval; - ASSERT(param[0].type == TYPE_WORD); - if ((retval = pcommand(p, "set promote %s", param[0].val.word)) != COM_OK) - return retval; - else - return COM_OK_NOPROMPT; + int retval; + + ASSERT(param[0].type == TYPE_WORD); + + if ((retval = pcommand(p, "set promote %s", param[0].val.word)) != + COM_OK) + return retval; + return COM_OK_NOPROMPT; } PUBLIC int -- cgit v1.2.3