Article View: comp.windows.interviews
Article #1343Re: Bug in menu (V3.1b) found. Program given.
From: Even Oscar Andersen
Date: Wed, 16 Dec 1992 13:18
Date: Wed, 16 Dec 1992 13:18
17 lines
1094 bytes
1094 bytes
Some time ago I noticed this problem as well. My solution was : menu.c, line 231 mi->patch_->canvas() will somtimes return a nil value. I added a line to check this value, no action taken if nil menu.c, line 369 m = item(..)->menu() changed to m = m->item(..)->menu() I'm not sure if the failure of my program was due to these lines, or it was an error in my source code. Neither I'm sure if this is the correct way to fix it. Anyway it works now (for me). Even Oscar Andersen
Technical Details
Message-ID:
<1992Dec16.131846.18036@ifi.uio.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!usc!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!aun.uninett.no!nuug!ifi.uio.no!evenaReferences:
<1g84ktINN8f0@eagle.dfki.uni-sb.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!usc!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!aun.uninett.no!nuug!ifi.uio.no!evena From: evena@ifi.uio.no (Even Oscar Andersen) Newsgroups: comp.windows.interviews Subject: Re: Bug in menu (V3.1b) found. Program given. Message-ID: <1992Dec16.131846.18036@ifi.uio.no> Date: 16 Dec 92 13:18:46 GMT References: <1g84ktINN8f0@eagle.dfki.uni-sb.de> Sender: evena@ifi.uio.no (Even Oscar Andersen) Organization: Dept. of Informatics, University of Oslo, Norway Lines: 17 Nntp-Posting-Host: allfar.ifi.uio.no Originator: evena@allfar.ifi.uio.no