Project: SWT
Bug 210412 GC.setLineAttributes() uses "join" as "cap"
Reported: 2007-11-20 11:44:40 | Status: resolved fixed

Build ID: M20071023-1652 Steps To Reproduce: 1. try to set line attributes in GC with a cap style other than the default More information: The code says "int cap = attributes.join" which should be "int cap = attributes.cap" Attached patch is based on current HEAD

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/GC.java