[Ohrrpgce] SVN: teeemcee/10411 Fix a couple crashes or null slice ptr debug errors that occur if a ps.c

Ralph Versteegen teeemcee at gmail.com
Fri Jun 1 18:16:11 PDT 2018


I'm assuming it's not meant to be possible to end up with no selection in
thingbrowser (eg, there doesn't seem to be any code to exit if you
right-click off a menu item, or anything like that), but it's written to
not crash in case that ends up being the case.

On 2 June 2018 at 13:14, <subversion at hamsterrepublic.com> wrote:

> teeemcee
> 2018-06-01 18:14:32 -0700 (Fri, 01 Jun 2018)
> 264
> Fix a couple crashes or null slice ptr debug errors that occur if a
> ps.cur=NULL in ThingBrowser
>
> However there are more "IsAncestor null slice" errors that can occur if
> ps.cur
> becomes NULL. And maybe that's a good thing, because it probably shouldn't
> ever
> be NULL?
> ---
> U   wip/thingbrowser.bas
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20180602/1aa36000/attachment.html>


More information about the Ohrrpgce mailing list