From d1b7b5a07d33607510b53337848d4c8130f6e9ef Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Fri, 17 Dec 2010 19:33:03 +0000 Subject: [PATCH] Various whitespace/formatting changes --- game/restrictcnf.dst | 1 - game/txt/hlp/cobra_cmd.hlp | 2 +- game/txt/hlp/cobra_func.hlp | 2 +- src/extchat.c | 1 + src/funlist.c | 1 - src/funstr.c | 1 - src/funufun.c | 1 - 7 files changed, 3 insertions(+), 6 deletions(-) diff --git a/game/restrictcnf.dst b/game/restrictcnf.dst index 2969c55..ab3f400 100644 --- a/game/restrictcnf.dst +++ b/game/restrictcnf.dst @@ -119,4 +119,3 @@ restrict_function lstats noguest #restrict_function mailtime nobody #restrict_function malias nobody #restrict_function folderstats nobody - diff --git a/game/txt/hlp/cobra_cmd.hlp b/game/txt/hlp/cobra_cmd.hlp index cc6cd55..da72d4f 100644 --- a/game/txt/hlp/cobra_cmd.hlp +++ b/game/txt/hlp/cobra_cmd.hlp @@ -3766,7 +3766,7 @@ See also: get, drop get 's , which will fail if either thing is not ENTER_OK or the object is locked against you. Some MUSHes choose to disable the ability to take an object in someone else's inventory. - + See also: @lock, ENTER_OK, give, drop, @success, inventory & @abuy @abuy = diff --git a/game/txt/hlp/cobra_func.hlp b/game/txt/hlp/cobra_func.hlp index 4f922af..d6c928f 100644 --- a/game/txt/hlp/cobra_func.hlp +++ b/game/txt/hlp/cobra_func.hlp @@ -4263,7 +4263,7 @@ See also: timestring(), etimefmt() or cpu time that may be configured in the MUSH. If the evaluation order doesn't quite seem right, adding escapes or breaking up the expression will probably help. - + & UCSTR() ucstr() diff --git a/src/extchat.c b/src/extchat.c index 06a31f6..368f0f4 100644 --- a/src/extchat.c +++ b/src/extchat.c @@ -2130,6 +2130,7 @@ do_chan_title(dbref player, const char *name, const char *title) } if (!title) title = ""; + if (strlen(title) >= CU_TITLE_LEN) { notify(player, T("Title too long.")); return; diff --git a/src/funlist.c b/src/funlist.c index 892573f..b42af23 100644 --- a/src/funlist.c +++ b/src/funlist.c @@ -1741,7 +1741,6 @@ FUNCTION(fun_unique) } - /* ARGSUSED */ FUNCTION(fun_lnum) { diff --git a/src/funstr.c b/src/funstr.c index e2a7df2..354a40c 100644 --- a/src/funstr.c +++ b/src/funstr.c @@ -2116,7 +2116,6 @@ FUNCTION(fun_align) return; } - FUNCTION(fun_speak) { ufun_attrib transufun; diff --git a/src/funufun.c b/src/funufun.c index ace60e4..1499e87 100644 --- a/src/funufun.c +++ b/src/funufun.c @@ -195,7 +195,6 @@ FUNCTION(fun_ulambda) return; } - /* ARGSUSED */ FUNCTION(fun_ulocal) { -- 2.30.2