Re: show_string()

From: George (greerga@CIRCLEMUD.ORG)
Date: 03/18/98


On Tue, 10 Mar 1998, Andrey Fidrya wrote:

>  one_argument(input, buf);
>
>^^^ We use one_argument to copy first arg of input into buf, then compare
>it with "Q", "R", or "B" letters... But why one_argument?
>Probably any_one_arg should be used there - we don't want to skip
>fill words because we need only one letter from input...

or a number too.

Sounds reasonable to me.

(In case you haven't realized why these are days old, I'm going through my
'bugs' folder at the moment.)

diff -uprN -X .exclude stk/modify.c pagestring/modify.c
--- stk/modify.c        Wed Oct 29 00:16:28 1997
+++ pagestring/modify.c Wed Mar 18 20:56:45 1998
@@ -321,7 +321,7 @@ void show_string(struct descriptor_data
   char buffer[MAX_STRING_LENGTH];
   int diff;

-  one_argument(input, buf);
+  any_one_arg(input, buf);

   /* Q is for quit. :) */
   if (LOWER(*buf) == 'q') {

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST