Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site cadovax.UUCP Path: utzoo!linus!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!trwrb!trwrba!cadovax!keithd From: keithd@cadovax.UUCP (Keith Doyle) Newsgroups: net.micro.amiga Subject: Re: Orphaned Response Message-ID: <996@cadovax.UUCP> Date: Sat, 28-Dec-85 17:29:08 EST Article-I.D.: cadovax.996 Posted: Sat Dec 28 17:29:08 1985 Date-Received: Sun, 29-Dec-85 20:19:44 EST References: <699@caip.RUTGERS.EDU> <26600013@ccvaxa> Reply-To: keithd@cadovax.UUCP (Keith Doyle) Organization: CONTEL CADO Systems, Torrance, CA Lines: 44 In article <26600013@ccvaxa> mikel@ccvaxa.UUCP writes: > >The mand1.c version we received was broken. Here is some of the broken things >I have found. > >open_winds() >{ > int i,color; > > nw.Width = max_x; > nw.Height = max_y+STARTY; > > if (color_mode & 1) { > ns.ViewModes = NULL; > ns.Depth = 5; > } > >----> Somethings missing here, I assume it should be an else ??? > > ns.ViewModes = HAM; > ns.Depth = 6; > } >/* then the following with the stuff in between removed */ > nw.Screen = screen; > w = (struct Window *)OpenWindow(&nw); > if (w == NULL) { > CloseScreen(screen); > fputs("Can't open new window!\n",console); > return (1); >--> >/* seems to be missing a } */ > >Could someone please send me a version which works? Ditto. I made the same observations here, and after adding the 'else {' and the '}', it still dosen't work very well. I can get it to compile, and when executed it sort of runs, but can't make it do much useful. I'd enjoy a fixed version too if someone has figured it out. Keith Doyle # {ucbvax,ihnp4,decvax}!trwrb!cadovax!keithd # cadovax!keithd@ucla-locus.arpa