diff options
author | Silenio Quarti <silenio> | 2002-09-23 18:35:08 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2002-09-23 18:35:08 +0000 |
commit | d4db5a60f8d32fe4e3e76d2cffe44bdcf5761769 (patch) | |
tree | 577c41a6cd135ced7ebaca856399b21569fd2936 | |
parent | 85c63d56c041dd165205acbbf9738b24ab56578d (diff) | |
download | eclipse.platform.swt-d4db5a60f8d32fe4e3e76d2cffe44bdcf5761769.tar.gz eclipse.platform.swt-d4db5a60f8d32fe4e3e76d2cffe44bdcf5761769.tar.xz eclipse.platform.swt-d4db5a60f8d32fe4e3e76d2cffe44bdcf5761769.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Font.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Font.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Font.java index 2382eddfab..0ae966d438 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Font.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Font.java @@ -194,7 +194,7 @@ public int hashCode() { void init(Device device, String name, int height, int style, byte[] fontString) { if (name == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); - if (height < 0) SWT.error(SWT.ERROR_NULL_ARGUMENT); + if (height < 0) SWT.error(SWT.ERROR_INVALID_ARGUMENT); if (fontString != null) { handle = OS.pango_font_description_from_string (fontString); |