Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!qantel!dual!lll-crg!seismo!rlgvax!tyxpdp!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.sources.games Subject: Re: Patch to adv Message-ID: <1762@umcp-cs.UUCP> Date: Sat, 5-Oct-85 02:29:06 EDT Article-I.D.: umcp-cs.1762 Posted: Sat Oct 5 02:29:06 1985 Date-Received: Mon, 7-Oct-85 05:45:01 EDT References: <259@ukc.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 41 Keywords: adv The referenced patch should be put inside a CURSED-dependent #ifdef, as the new code will not compile with the window library. Here is the change I installed. -Chris RCS file: RCS/misc.c,v retrieving revision 1.2 diff -c2 -r1.2 misc.c *** /tmp/,RCSt1001378 Sat Oct 5 02:26:02 1985 --- misc.c Sat Oct 5 02:23:08 1985 *************** *** 224,227 Wputc(c, CurWin); } refresh(); ReadingTerminal = 2; --- 224,228 ----- Wputc(c, CurWin); } + #ifndef CURSED refresh(); #else CURSED *************** *** 225,228 } refresh(); ReadingTerminal = 2; } --- 226,232 ----- #ifndef CURSED refresh(); + #else CURSED + wrefresh(CurWin); + #endif CURSED ReadingTerminal = 2; } -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu