Skip to content

Commit f50902d

Browse files
authored
Merge branch 'eclipse-platform:master' into master
2 parents ba73d96 + 0e0d38c commit f50902d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ public Image(Device device, Image srcImage, int flag) {
232232
if (srcImage == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
233233
if (srcImage.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT);
234234
this.type = srcImage.type;
235-
this.imageProvider = srcImage.imageProvider.createCopy(this);
236235
this.styleFlag = srcImage.styleFlag | flag;
236+
this.imageProvider = srcImage.imageProvider.createCopy(this);
237237
switch (flag) {
238238
case SWT.IMAGE_COPY: {
239239
switch (type) {

0 commit comments

Comments
 (0)