PennMUSH 1.8.3p12
authorRick L Bird <nveid@yahoo.com>
Sat, 14 May 2011 17:04:34 +0000 (13:04 -0400)
committerRick L Bird <nveid@yahoo.com>
Sat, 14 May 2011 17:04:34 +0000 (13:04 -0400)
Author: talvo@talvo.com <talvo@talvo.com@ba372814-4f39-11de-9ad6-1127a62b9fcd>
Date:   Wed Jan 6 16:33:17 2010 +0000

    locate() ignores spaces in 3rd arg, helpfile tweaks

Fixes #180

src/fundb.c

index 0477824921b3540da91537c4efbc2923a7c6890c..86e49e65543e4dee652a4f00d1b589f0429d1705 100644 (file)
@@ -1972,6 +1972,8 @@ FUNCTION(fun_locate)
     case 'X':
       ambig_ok = 1;             /* okay to pick last match */
       break;
+    case ' ':                  /* skip over spaces */
+      break;
     default:
       notify_format(executor, T("I don't understand switch '%c'."), *p);
       break;