Re: Hedit

From: ;P (siv@CYBERENET.NET)
Date: 10/29/97


egads, it seems that i left something (pretty important) out of the help
editor patch (forgive me, it's the first patch i've ever made :) )..
just add in this case to olc.c, cleanup_olc..

       }
     }

+    if (OLC_HELP(d)) {
+      switch (cleanup_type) {
+      case CLEANUP_ALL:
+       free_help(OLC_HELP(d));
+       break;
+      case CLEANUP_STRUCTS:
+       free(OLC_HELP(d));
+       break;
+      default:
+       /* Caller has screwed up */
+       break;
+      }
+    }
+
     /*. Restore desciptor playing status .*/
     if (d->character)
     { REMOVE_BIT(PLR_FLAGS(d->character), PLR_WRITING);

i'm also going to upload the new (fixed) patch, along with a slightly
more verbose readme file..sorry george..

siv

"Because 130 years between civil wars is far too fucking long."
        The Scorched Earth Party -


     +------------------------------------------------------------+
     | 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/08/00 PST