Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!nbires!hao!hplabs!ucbvax!jade!eris!mwm From: mwm@eris.berkeley.edu (Mike (Don't have strength to leave) Meyer) Newsgroups: net.micro.amiga Subject: Re: Updated Diffs for vt100 version 2.2 Message-ID: <1502@jade.BERKELEY.EDU> Date: Thu, 23-Oct-86 03:47:59 EDT Article-I.D.: jade.1502 Posted: Thu Oct 23 03:47:59 1986 Date-Received: Fri, 24-Oct-86 16:55:36 EDT References: <4625@decwrl.DEC.COM> <5980@decwrl.DEC.COM> Sender: usenet@jade.BERKELEY.EDU Reply-To: mwm@eris.UUCP (Mike (Don't have strength to leave) Meyer) Organization: Missionaria Phonibalonica Lines: 35 Would someone please explain this to me? In article <2009@videovax.UUCP> stever@videovax.UUCP (Steven E. Rice, P.E.) writes: >Lattice C is unable to cope with the construct [n+1]. >*************** >*** 354,360 > /* initialize each menu item and IntuiText with loop */ > for( n=0; n { >! FileItem[n].NextItem = &FileItem[n+1]; > FileItem[n].LeftEdge = 0; > FileItem[n].TopEdge = 10 * n; > FileItem[n].Width = 120; > >--- 354,361 ----- > /* initialize each menu item and IntuiText with loop */ > for( n=0; n { >! nplus1 = n+1; >! FileItem[n].NextItem = &FileItem[nplus1]; > FileItem[n].LeftEdge = 0; > FileItem[n].TopEdge = 10 * n; > FileItem[n].Width = 120; This looks like utter bilge to me. I'm currently running v2.2 WITHOUT this patch (though it has the patches posted by DBW), and the menus look exactly like the code makes me expect them to. Ditto for all the things I've written that use this technic for setting up menus, etc. I'm using 3.03. If 3.04 Beta has this problem, then I pray that 1) it gets fixed before the release, and 2) DBW won't pick up that particular piece of uglyness just so the Beta software will work.