[comp.windows.x] Magic bug in grX1.c

kriso@northstar5.dartmouth.edu (Kris Olander) (09/14/89)

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                   #