On Sat, 20 Sep 1997, Chris Jacobson wrote: >In ZEDIT, void remove_cmd_from_list() > >Where it says: > > for(i=0;i<count;i++) > if(i==pos) > newlist[l++] = (*list)[i]; for (i = 0, l = 0; i < count; i++) { if (i != pos) { #if defined(DEBUG) sprintf(buf, "remove_cmd_from_list: kept %c %d %d %d %d", (*list)[i].command, (*list)[i].arg1, (*list)[i].arg2, (*list)[i].arg3, (*list)[i].line); #endif newlist[l++] = (*list)[i]; } Huh? It is like it should be. (i != pos) -- 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/08/00 PST