Skip to content

Commit 01ddea2

Browse files
this too
1 parent 64f5fd2 commit 01ddea2

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ private void init(ImageData image, int zoom) {
14531453
public long internal_new_GC (GCData data) {
14541454
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
14551455
if (type != SWT.BITMAP) {
1456-
SWT.error(SWT.ERROR_INVALID_ARGUMENT);
1456+
SWT.error(SWT.ERROR_INVALID_ARGUMENT, null, "The type is " + type);
14571457
}
14581458

14591459
if(memGC != null) {

0 commit comments

Comments
 (0)