On Fri, Nov 15, 2013 at 11:52 PM, Ralph Versteegen <[email protected]>wrote:

> On 16 November 2013 10:55,  <[email protected]> wrote:
> > james
> > 2013-11-15 13:55:13 -0800 (Fri, 15 Nov 2013)
> > 53
> > Add GetOrCreateChild() helper function to reload.bas
> > ---
> > U   wip/reload.bas
> > U   wip/reload.bi
>
> This function already exists; it's called ChildNode. Actually
> GetOrCreateChild is buggy because it doesn't properly check nod->flags
> AND nfNotLoaded. But I think that GetChildByName definitely should be
> performing that check itself instead of leaving it to the caller.
>
> I can't remember what functions we have in the RELOAD API either; I
> always have to look them up every time.
>

Oops! Thank you for spotting that!
I will fix it by removing GetOrCreateChild and using ChildNode instead :)

---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to