src/macosx/native/sun/awt/CDragSource.m
Print this page
@@ -311,12 +311,11 @@
if ([type hasPrefix:@"JAVA_DATAFLAVOR:application/x-java-jvm-local-objectref;"] == false) {
[pbTypes addObject:type];
// This is a good approximation if not perfect. A conclusive search would
// have to be done matching all defined strings in AppKit's commonStrings.h.
- if ([type hasPrefix:@"NS"] || [type hasPrefix:@"NeXT"])
- hasNSTypeData = true;
+ hasNSTypeData = [type hasPrefix:@"NS"] || [type hasPrefix:@"NeXT"] || [type hasPrefix:@"public."];
}
}
}
}