Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!dartvax!northstar5.dartmouth.edu!kriso From: kriso@northstar5.dartmouth.edu (Kris Olander) Newsgroups: comp.windows.x Subject: Magic bug in grX1.c (possible repost) Keywords: Magic Message-ID: <15560@dartvax.Dartmouth.EDU> Date: 13 Sep 89 19:28:32 GMT Sender: news@dartvax.Dartmouth.EDU Reply-To: kriso@northstar5.dartmouth.edu (Kris Olander) Distribution: usa Organization: Project NORTHSTAR, Dartmouth College Lines: 31 This has probably already been reported so I'll keep it short. in .../X11R3/contrib/clients/magic/graphics, there is a typo which will cause compiling the graphics code to fail. Here's the context diff. *** /usr/src/X11R3/contrib/clients/magic/graphics/grX1.c Thu Mar 2 15:59:33 1989 --- /usr1/cad/src/magic/graphics/grX1.c Wed Sep 13 15:02:43 1989 *************** *** 149,155 **** default: grCurrent.pattern[0] = grCurrent.pattern[1] = style; XSetDashes(display, defGC, 0, grCurrent.pattern, 2); ! XSetLineAttributes(display, defGC, 0, LineonOffDash, CapNotLast, Jo inMiter); } } --- 149,155 ---- default: grCurrent.pattern[0] = grCurrent.pattern[1] = style; XSetDashes(display, defGC, 0, grCurrent.pattern, 2); ! XSetLineAttributes(display, defGC, 0, LineOnOffDash, CapNotLast, Jo inMiter); } } # Kris Olander ---- ---- arpa: kriso@northstar.dartmouth.edu # # ---------------------------------------------------------- # # System Eng. Project NORTHSTAR # # Thayer School of Eng., Dartmouth College #