diff options
author | Silenio Quarti | 2002-03-15 19:15:07 +0000 |
---|---|---|
committer | Silenio Quarti | 2002-03-15 19:15:07 +0000 |
commit | 7522ecc3377a2ea5f6e1319d6484ca5c6925e7fd (patch) | |
tree | 33c4b2eaa80d788415eeb31900dca1711642d2a1 | |
parent | b919844cab9404aecf29c1e8709e2c6e3d154d5a (diff) | |
download | eclipse.platform.swt-7522ecc3377a2ea5f6e1319d6484ca5c6925e7fd.tar.gz eclipse.platform.swt-7522ecc3377a2ea5f6e1319d6484ca5c6925e7fd.tar.xz eclipse.platform.swt-7522ecc3377a2ea5f6e1319d6484ca5c6925e7fd.zip |
*** empty log message ***
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java index 9fc5e24126..7a815e27e6 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java @@ -907,11 +907,11 @@ void init(Device device, int width, int height) { if (device == null) device = Device.getDevice();
if (device == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
this.device = device;
- /* Create the pixmap */
if (width <= 0 | height <= 0) {
SWT.error(SWT.ERROR_INVALID_ARGUMENT);
}
+ /* Create the pixmap */
this.type = SWT.BITMAP;
int xDisplay = device.xDisplay;
int screen = OS.XDefaultScreenOfDisplay(xDisplay);
|