Skip to content

Commit d24a218

Browse files
Merge branch 'master' into master-200
2 parents d874807 + 0768d7e commit d24a218

File tree

2 files changed

+284
-234
lines changed

2 files changed

+284
-234
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) {
325325
if (hMask == 0) SWT.error(SWT.ERROR_NO_HANDLES);
326326
} else {
327327
ImageData mask = source.getTransparencyMask();
328-
long [] result = Image.init(this.device, null, source, mask, null); // Since the image is null, the device zoom can be null
328+
long [] result = Image.initIcon(this.device, source, mask);
329329
hBitmap = result[0];
330330
hMask = result[1];
331331
}

0 commit comments

Comments
 (0)