From: Ari Johnson Date: Fri, 17 Dec 2010 19:33:03 +0000 (+0000) Subject: Various whitespace/formatting changes X-Git-Tag: 0.73p2~22 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=1c2e745c9c1843a7ad032b82ddd0c7010ff04245;p=cobramush.git Various whitespace/formatting changes (cherry picked from commit d1b7b5a07d33607510b53337848d4c8130f6e9ef) --- 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 08dd238..31f7eeb 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 f56f215..455501b 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 3d0f616..69d8a32 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 23f38ff..cbaa6e6 100644 --- a/src/funufun.c +++ b/src/funufun.c @@ -195,7 +195,6 @@ FUNCTION(fun_ulambda) return; } - /* ARGSUSED */ FUNCTION(fun_ulocal) {