fixup error in pasteboard types provided when png is available

This commit is contained in:
rfm 2024-03-04 22:08:00 +00:00
parent 7a215fcb01
commit 324308b4e8

View file

@ -147,7 +147,12 @@
if (types == nil)
{
types = [[NSArray alloc] initWithObjects: NSTIFFPboardType, nil];
types = [[NSArray alloc] initWithObjects:
NSTIFFPboardType,
#if HAVE_LIBPNG
NSPasteboardTypePNG,
#endif
nil];
}
return types;