winemac: Remove JPEG 2000 from the bitmap formats that other bitmap formats can be converted to.

Since a983cfb01, the Mac driver won't even present formats, like this one,
which don't correspond to a known Windows format through the clipboard APIs, so
it's pointless.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Ken Thomases 2015-10-07 16:22:27 -05:00 committed by Alexandre Julliard
parent 6fc2d3ce2e
commit 10b95d0dc7
1 changed files with 1 additions and 3 deletions

View File

@ -66,12 +66,10 @@ CFArrayRef macdrv_copy_pasteboard_types(CFTypeRef pasteboard)
[NSNumber numberWithUnsignedInteger:NSBMPFileType], [NSNumber numberWithUnsignedInteger:NSBMPFileType],
[NSNumber numberWithUnsignedInteger:NSGIFFileType], [NSNumber numberWithUnsignedInteger:NSGIFFileType],
[NSNumber numberWithUnsignedInteger:NSJPEGFileType], [NSNumber numberWithUnsignedInteger:NSJPEGFileType],
[NSNumber numberWithUnsignedInteger:NSJPEG2000FileType],
nil]; nil];
BitmapOutputTypes = [[NSArray alloc] initWithObjects:@"public.tiff", @"public.png", BitmapOutputTypes = [[NSArray alloc] initWithObjects:@"public.tiff", @"public.png",
@"com.microsoft.bmp", @"com.compuserve.gif", @"public.jpeg", @"com.microsoft.bmp", @"com.compuserve.gif", @"public.jpeg", nil];
@"public.jpeg-2000", nil];
BitmapOutputTypeMap = [[NSDictionary alloc] initWithObjects:bitmapFileTypes BitmapOutputTypeMap = [[NSDictionary alloc] initWithObjects:bitmapFileTypes
forKeys:BitmapOutputTypes]; forKeys:BitmapOutputTypes];